CORS issue with API v1.1

Hi,
I’ve been using API v1.1 for some time to access build artifacts. Up until recently it was working fine, but from sometime around 1 week ago, there seems to be an issue with CORS, namely the reponse is rejected because
“Reason: CORS header ‘Access-Control-Allow-Origin’ missing”

The example api call is
./api/v1.1/project/github///879/artifacts
which is working fine when accessed directly in browser, but when I’m trying to access the same path with a script from another website, there is a CORS error.
The respose headers are missing “Access-Control-Allow-Origin: *” definition, so it’s not possible to access data from the API.

2 Likes

@circleci-community, any questions related with CORS have been answered by the company.
Do you plan to do it??

It’s the same issue with the v2.0 of the API, no?

Hi, I can reproduce the same issue with v2 API.

Yeah. It is impossible to use the API from a React app. This is behaviour is not happening for example using Github API.

Besides, Neither is circleci support team (@circleci-community) seen nor is he expected…