after the POST request and the job is done the GET request returns a url but the aws url returns AccessDenied Error. my url (https://s3.eu-central-1.amazonaws.com/tts-download/e0daf99ebb6893e2df433d3dffaf4c15.wav?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAZ3CYNLHHVKA7D7Z4%2F20220209%2Feu-central-1%2Fs3%2Faws4_request&X-Amz-Date=20220209T055612Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=ff5a8ff595b8a6be56f69dd911dfae3d827423ebce54c9a5e8ed3f7f9434a648)
Participez à la discussion - ajoutez un commentaire ci-dessous:
I am glad it is working as expected, let me know if you have any questions or feedback on the API. 😃
Thank you!
So https://gist.github.com/kenenisa/aa8b765f223d19261715bc921e22b7db this is what i used and it’s working perfectly now. Sorry for the inconvenience i created, i think i messed up the request id. Thank You for the help.
Can you share the snippet of code you are using and the response “id”, which after GET request creates expired link ?
I am unable to reproduce it, for example, with this minimal code:
https://gist.github.com/kristian-io/551689b1277561354e3e35117a6bea56
Yes i’ve read on the documentation that the url is only valid for 24hrs, but my issue is that the url expires right away after i get it.
Hello,
thanks for asking!
Please note the full server message:
As mentioned in the About section (https://rapidapi.com/k_1/api/large-text-to-speech/details)
So the recommendation is once you submit the request and receive the audio URL, download it and store it on your end.
Let me know if this helps or if you have any questions.
Kristian