Access to fetch blocked by CORS

I’m all of a sudden getting errors that match this previous thread: CORS Policy on ic0.app

This is the error:
Access to fetch at ‘https://raw.ic0.app/api/v2/canister/zggm4-5qaaa-aaaai-qmjea-cai/query’ from origin ‘https://xqbgo-kqaaa-aaaad-qdb6a-cai.raw.ic0.app’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: Redirect is not allowed for a preflight request.

Did something happen with routing at the boundary nodes again? Would love to have someone take a look.

Thanks!

4 Likes

Same problem please help and fix this issue. Many thanks.

1 Like

It appears this was dependency related for us.

We upgraded all of these from 0.10.0 to 0.10.2 and that fixed the problem we were having.
@dfinity/agent”: “0.10.2”,
@dfinity/auth-client”: “0.10.2”,
@dfinity/authentication”: “0.10.2”,
@dfinity/candid”: “0.10.2”,
@dfinity/identity”: “0.10.2”,
@dfinity/principal”: “0.10.2”

Would still love a report back from someone at Dfinity on this one though.

2 Likes