bigcommerce / b2b-buyer-portal

B2B Buyer Portal - BigCommerce B2B Edition
MIT License
26 stars 24 forks source link

CORS Issue when getting store basic info. Buyer portal cannot load. #55

Closed cjsanchezBW closed 4 months ago

cjsanchezBW commented 4 months ago

Please fill out this template to help us diagnose and address your issue effectively.

Type: (Select one)

Summary:

We have been working on buyer portal and it was working fine but suddenly this afternoon there was an issue and buyer portal stopped working suddenly.

Expected Behavior:

Actual Behavior:

Additional Information: This is the error: Access to fetch at ' https://api-b2b.bigcommerce.com/api/v2/users/5?isBcId=1' from origin ' https://CLIENT-store-1-b2b.mybigcommerce.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: 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.

Version:

Screenshots/Screen Recordings (Optional):

Thank you for your report! We appreciate your contribution to improving our project.

cjsanchezBW commented 4 months ago

Seems the issue has been resolved. Closing this!