Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

Error while choosing Countries on checkout #215

Open
IvanSmiths opened this issue Jul 8, 2021 · 1 comment
Open

Error while choosing Countries on checkout #215

IvanSmiths opened this issue Jul 8, 2021 · 1 comment

Comments

@IvanSmiths
Copy link

Hi everyone. I've just copied this repository, but in my case, i get this error in the checkout page.

Seems like a CORS origin error, but i haven't setup any CORS policy in my website

Access to XMLHttpRequest at 'https://api.chec.io/v1/services/locale//subdivisions' from origin 'https://mydomain.vercel.app' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status. checkout-fca2b2d3ad851f304f05.js:1 Error: Network Error at e.exports (_app-ce4553cd6c8a487f2545.js:1) at XMLHttpRequest.d.onerror (_app-ce4553cd6c8a487f2545.js:1) api.chec.io/v1/services/locale//subdivisions:1 Failed to load resource: net::ERR_FAILED shipping_options:1 Failed to load resource: the server responded with a status of 422 ()

@robbieaverill
Copy link
Contributor

Hi @IvanSmiths, do you have any more information about this request? The 422 response code indicates that there is probably a response body somewhere that might contain more useful information

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants