You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the message data you're sending as inputs may contain special control characters, which are invalid in JSON and can cause the parsing error.
To address this, you can sanitize the message before sending it to the API.
This is technically my oversight I was planning to release an update to handle such issues, but as I was working on TTS and STT features, I overlooked this case in the library. If you wish, you can add the solution to your source code or wait for the new hotfix that I’ll publish soon. 🙏
Answer: Failed to parse the request body as JSON: inputs: control character (\u0000-\u001F) found while parsing a string at line 2 column 0
The text was updated successfully, but these errors were encountered: