On this page

Show all

Help Center/ Content Delivery Network/ FAQs/ Troubleshooting/ Why Do I Get an Access Failure and Access-Control-Allow-Origin Error?

Why Do I Get an Access Failure and Access-Control-Allow-Origin Error?

Updated on 2024-04-17 GMT+08:00

This issue occurs due to the cross-origin setting.

Solution:

  1. Click the target domain name on the Domains page.
  2. On the Advanced Settings tab, click Edit next to HTTP Headers.
  3. Select Access-Control-Allow-Origin and set its value to * or a specified domain name.
Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback