Timeout error when calling API

Hello,

We are trying to embed dashboards in our application and sometimes get timeout errors when calling the QS API :

This happens when we make the call ListDashboards() from our application. The network seems okay and I dont see any errors in cloudwatch/cloudtrail.

How can I investigate this further?

Please advise. Thanks.

Hello @harpar1808, how often is this happening during the embedding process? Is it failing every time you try to run ListDashboards()? Also, are you using any type of try/catch to attempt retrying the call when it fails?

Hello @DylanMorozowski ,

We dont have any retry mechanism and this is happening sporadically.

Thanks.

Hey @harpar1808, honestly, if it isn’t constant, I’d update the query to at least retry once. If you don’t any network lag could cause an error here. That should resolve the issue most of the time!

Hi @harpar1808,

Just checking back in since this thread hasn’t received a response in a while. Was Dylan’s reply helpful to you and/or were you able to find a solution yourself in the meantime? Please help the community by marking this answer as “Solution” or following up in general within the next 3 business days!

Thank you!

Hi @harpar1808,

Since I haven’t received any further updates from you, I’ll treat this inquiry as complete for now. If you have any additional questions, feel free to create a new post in the community and link this discussion for context.

Thank you!