Published 3 months ago by Uzenkov
Hi everyone. I have this problem when i'm trying to send Viber message through VueJS. Could you tell me please how can I fix this?
The error occurs when you try to make an ajax request to a domain that does not explicitly allow ajax requests from a foreign domain.
Is this error occurring when you make a request to your own API or to a 3rd party API? If it's a 3rd party API then they do not allow ajax calls, nothing you can do.
If it's your own API check for other errors such as syntax errors which can be mistranslated as a CORS error by the browser.