Help Center/
Content Delivery Network/
FAQs/
Troubleshooting/
Why Do I Get an Access Failure and Access-Control-Allow-Origin Error?
Updated on 2024-04-17 GMT+08:00
Why Do I Get an Access Failure and Access-Control-Allow-Origin Error?
This issue occurs due to the cross-origin setting.
Solution:
- Click the target domain name on the Domains page.
- On the Advanced Settings tab, click Edit next to HTTP Headers.
- Select Access-Control-Allow-Origin and set its value to * or a specified domain name.
Parent topic: Troubleshooting
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.