Discussions
422 status code and errorCode of 8701
Dear Genny.lovo.ai Support Team,
I am writing to ask for technical assistance with a persistent issue I am having when trying to generate audio via your API.
I am trying to make POST requests to the /api/v1/tts endpoint, but these requests are consistently failing with an HTTP 422 status code. The specific response I receive includes the error message "API key is not found." and an errorCode of 8701.
I have taken the following steps to troubleshoot the issue and can confirm:
My account has sufficient TTS credits available (over 18 hours).
The API key is being correctly sent in the X-API-KEY header.
This error is reproducible even when using the "Try it!" feature directly on your official API documentation page.
The fact that the API call fails with an explicit "API key is not found" message, even through your tool, suggests that the issue is not with my client-side script but instead with how my API key is being recognized on your server.
Could you please provide more details regarding this error? Specifically, could you:
Check for any server-side logs related to my account's API requests?
Are there any known issues or specific requirements with the X-API-KEY header for my account type?
Investigate why the server is not finding a valid API key, even though it is correctly provided in the request.
Thank you for your time and assistance.
Sincerely,
Ricardo