Discussions

Ask a Question
Back to All

Error 400 on API Request

Hi,

Issue No. 1:

I have the Creator program subscribed.

Im using the API in a NextJS app and streaming interactive avatars within it like the demo.

I am making an app for Oculus Quest 2. Everything was working smoothly, but suddenly I got an error 404 bad request.

I have 106 credits left.

But when I ran the API, it gave me this error

I tested the API key on the Heygen API Reference site, and it gave me this error.

{
"code": 10007,
"message": "Concurrent limit reached; please upgrade your plan for formal usage."
}

What does concurrent mean? Simulatenous use, right?

I am running the API on three things 1 and 2 is my Mac where production and dev builds are being tested, and the 3rd is the Oculus, but it is never streaming on all three places at the same time.

No other people are using this API key but me.

I just tested my code with another trial key, and its working fine.

I am very confused about how this plan and API key work.

Please help me with the issue, as I think it might be a bug or I might be doing something wrong.