Closed PixelNinja132 closed 1 year ago
yeah seems like every script is getting this now, any ideas?
seems like they changed the endpoint for tts
Getting this when sending a direct POST request:
<HTML><HEAD>
<TITLE>Bad Request</TITLE>
</HEAD><BODY>
<H1>Bad Request</H1>
Your browser sent a request that this server could not understand.<P>
Reference #7.1f3bd417.1661383023.78fa60a
</BODY>
</HTML>
I think they may have locked the TTS engine down unfortunately. This is probably in relation to @pruthvishetty getting an error like the following in #12:
{"extra":{"log_id":"202208242316400101921620450D6497CE"},"message":"Couldn't load speech. Try again.","status_code":1,"status_msg":"Couldn't load speech. Try again."}
New error
vstr = [r.json()["data"]["v_str"]][0]
is being thrown because the API returns{'extra': {'log_id': '20220822131552C9EAC8EF9BB84E554DFD'}, 'message': "Couldn't load speech. Try again.", 'status_code': 1, 'status_msg': "Couldn't load speech. Try again."}