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!