Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nike UK - Cors Policy / Add to Basket #14

Open
sdman786 opened this issue Jun 6, 2021 · 2 comments
Open

Nike UK - Cors Policy / Add to Basket #14

sdman786 opened this issue Jun 6, 2021 · 2 comments

Comments

@sdman786
Copy link

sdman786 commented Jun 6, 2021

Currently having an issue with Adding to the basket.

Error message in console:

Access to fetch at 'https://api.nike.com/buy/carts/v2/GB/NIKE/NIKECOM?modifiers=VALIDATELIMITS,VALIDATEAVAILABILITY' from origin 'https://www.nike.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

I have tried to fix this using web security blockers (args: ['--disable-web-security', '--disable-features=IsolateOrigins', ' --disable-site-isolation-trials']) in the .launch(), which supresses the errors, but still not working.

@CharlesOnAir
Copy link

Hello, any issue ?

@AndreaZavatta
Copy link

same error

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

No branches or pull requests

3 participants