Help Center>
Object Storage Service>
FAQs>
Buckets and Objects>
Why Is an Error Reported Even If CORS Has Been Configured?
Updated on 2022-07-07 GMT+08:00
Why Is an Error Reported Even If CORS Has Been Configured?
- Check whether the CORS rule is correctly configured by referring to Configuring CORS.
- Response headers are cached for the same URL. The result of the first simple request will be cached even if the request does not contain the CORS header. When the URL is accessed for the second time, the first response result is used and CORS is generated. This issue is caused by the browser mechanism.
Use either of the following methods to try to resolve this issue:
- Add random parameters to the end of the requested resource URL. For example, 1.html?a=1 is displayed after a random parameter is added to 1.html.
- Set CacheControl to no-cache in the object metadata.
- Press Ctrl+Shift+Delete to clear the browser cache.
Parent topic: Buckets and Objects
Buckets and Objects FAQs
- Why Am I Unable to Create a Bucket?
- Why Am I Unable to Upload an Object?
- Why Am I Unable to Download an Object?
- Why Can't I Delete a Bucket?
- Why Can't I Delete an Object?
- Why Can't I Access an Object Through Its URL?
- What Is the Relationship Between Bucket Storage Classes and Object Storage Classes?
- Can I Rename an Object?
- Can I Modify the Region of a Bucket?
- Can I Copy a File Between Buckets?
- Can I Move a File Between Buckets?
- Can I Edit Objects in OBS Online?
- How Do I Obtain the Access Path to an Object?
- Why Can't I Search for Certain Objects in My Bucket?
- How Do I Preview Objects in OBS in a Browser Online?
- What Should I Do If an Error Message Is Displayed When I Use Internet Explorer to Access an Object URL That Contains Chinese Characters?
- With CDN Acceleration Enabled, Why Are the Objects in My OBS Bucket Directly Downloaded When I Access Them?
- Why Is an Error Reported Even If CORS Has Been Configured?
- How Do I Query the Size of a Folder in a Bucket?
- How Do I Batch Delete a Large Number of Objects from a Bucket or Empty a Bucket?
- How Do I Change the Enterprise Project Where My Bucket Belongs?
- How Do I Upload Objects Larger Than 5 GB?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbotmore