Recent searches
No recent searches
Database Timeout Error on Users Endpoint
Posted Sep 16, 2022
Hey there -
I have a sidebar app that I've developed and noticed that recently the Users endpoint is timing out when making a request to this url:
`{domain}/api/v2/users.json?role[]=agent&role[]=admin&page[size]=100`
Getting 503 errors. If the request is successful, it's super, super slow, so much so that I had to remove this API request from my app functionality in the short-term to fix it.
Did anything change with our account that might cause this, or is there something wrong with this endpoint in general? Any suggestions for better performance? A dev at my company recommended I reach out about this after taking a look with me.
Thank you!
1
1
1 comment
Tipene Hughes
Hey, Crawford!
There haven't been recent changes to the API endpoint that would result in the issues you're seeing. That said, depending on the size of the dataset you're querying, it could take some time for the results to return although you generally shouldn't expect to see a 503 error.
Could you send through an example of the error and the response headers?
Thanks,
Tipene
0