I created my website with prismic in late 2017, and everything was working fine until yesterday. The api calls that are made at the website's launch all end up receiving an error of that type
Access to XMLHttpRequest at 'https://xxxx/api/documents/search?access_token=xxxxx&ref=xxxxxxxxx&q=[[at(document.type,%20%22concours%22)]]&lang=*&pageSize=100' from origin 'https://xxxxx' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource., and the website is thus unusable.
I don't know what to do in order to get back to normal.
Welcome to the forum!
I'll be happy debug this with you. Can you give me more information about what technology your website is built in and how you're doing your request?
This issue has been closed due to inactivity. Flag to reopen.