+1
Under review
CORS error - Access to XMLHttpRequest at 'https://cache-a.oddcast.com/tts/genB.php? blocked by CORS
CORS error - Access to XMLHttpRequest at 'https://cache-a.oddcast.com/tts/genB.php? from origin "ourdomain.com" has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
We have added our domain in the licensed domains and still facing the above error
Environment - ReactJS
Customer support service by UserEcho
Hello Vivek!
I assume you reviewed the React JS source code example on our support page.
Can you send us a simple React test project that demonstrates the problem?
This will allow our engineers to build and deploy and hopefully identify the problem quickly.
You can post here - or send to support@sitepal.com
Regards,
Gil
Did this ever get resolved?
Hi Francisco,
I can't be sure whether Vivek followed up with our support, as suggested, without checking support logs & correspondence.
But had he followed up - I'm sure it was resolved.
Regardless - the most likely reason for the problem described above is invalid parameters or text input.
We would have needed to see his working example to know for certain.
btw -
You might wonder - how can text input be invalid? Well, it turns out there are a number of ways that text input can cause failure. Here are a handful -
1. empty text
2. unpronounceable - eg. 'aaaaaaaaaaaaa'
3. some special (usually non-printing) characters can cause certain voices to fail
4. text input language does not match specified voice (eg Japanese text with an English voice)
5. broken or invalid SSML tags
Hope this helps,
Gil