Discussions

Ask a Question
Back to All

TooManyRequestsError and Reconnect Issues with Agents SDK

I’m using the Agents SDK and frequently encountering this error:

JSON:

Uncaught (in promise) Error: {"kind":"TooManyRequestsError","description":"The server received too many requests, please try again later.","details":{}}
at a (@d-id_client-sdk.js?v=c3f6a79b:61:11)
at async Re (@d-id_client-sdk.js?v=c3f6a79b:322:7)
at async @d-id_client-sdk.js?v=c3f6a79b:552:12

Why is this error occurring repeatedly, and how can I prevent it? Additionally, the SDK often asks to reconnect—what could be causing this, and how can I resolve it?

Thank you,
Vijay