Users Scroll API Endpoint Working | Community
Skip to main content

I’m curious if there is a known issue with the Users Scroll API? The Company one works just fine, but the users one returns that it is not a valid resource.

I found a github incident from 2018 where something similar happened and I’m wondering if something similar is at play again. 

I notice that the users scroll documentation page doesn’t have a Try It option like Companies does, which leads me to believe it may be a known issue that the endpoint doesn’t actually work.

Current Documentation: https://developers.intercom.com/docs/references/1.3/rest-api/users/iterating-over-all-users

Hey,

Afaik, it should work, but it’s a bit tricky, so you need to make sure that the following are accounted for:

  • Only one scroll session at a time, and it expires in 60 seconds, so slow testing will fail.
  • Make sure your scroll_param is fresh and used right away.
  • SDKs sometimes throw “not a valid resource” even when the raw endpoint work: try curl/Postman to confirm.

If you have those figured out, it usually works fine. Otherwise, perhaps sounds like a support ticket might be needed.


@Joseph S. Thanks for the response. I tried in Postman, thats where I got the “"The requested resource does not exist; check your path and try again" error, using this request:

curl --location 'https://api.intercom.io/users/scroll' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer aACTUAL TOKEN]'


 


@prmichael Let me take another crack at troubleshooting!

Make sure that you are on v1.3, and that the workspace that you are using has users in it (if you have a testing workspace with 0 users, that could be the reason for the error)

If those 2 points don’t cut it, I guess best course would be to log a ticket with them, hopefully they can point out exactly what is the issue based on how they see the setup or the error on the backend! 

 


Reply