API down for days on one repo, cloudfront or CORS issue?

API access to one of 2 of my repos has been down for at least a week.

No code changes. Graphql gatsby builds work, but not API v2 client requests.

Here's an example failing url that the client is hitting:
https://bassu.cdn.prismic.io/api/v2/documents/search?integrationFieldsRef=bassu~1cbb0425-ac82-41b3-a07f-2491d35c1051&page=1&pageSize=100&ref=YFukVBMAACEApqHT&q=[[at(document.type%2C%20"article")]]

Chrome is alerting no CORS header
No 'Access-Control-Allow-Origin' header is present on the requested resource.

and in the failed response
x-cache: Error from cloudfront

Hello @matt2

Welocme to the Prismic Forum.

I can see the API is working fine now in chrome browser. Can you try again?

Priyanka

I see that it started working again. Did someone do something?

However, now the other repo is failing in the same way

https://omniafishingcom.cdn.prismic.io/api/v2/documents/search?integrationFieldsRef=omniafishingcom~b869e865-a526-4c5d-b559-d7af52a467da&page=1&pageSize=100&ref=YGzPkhAAACAA68LB&q=[[at(document.type%2C%20"video")]]

What is going on?

Hello Matt,

Nothing has changed from our side, but I see It's working well with the other repo. I can see the API.

I am not sure what is happening so I am going to share this with my team.

Thanks

Priyanka

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.