Help Center/
Object Storage Service/
FAQs/
Buckets and Objects/
Why Is an Error Reported Even If OBS CORS Has Been Configured?
Updated on 2024-10-15 GMT+08:00
Why Is an Error Reported Even If OBS 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 Cache-Control to no-cache in the object metadata.
- Press Ctrl+Shift+Delete to clear the browser cache.
Parent topic: Buckets and Objects
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.
Chatbot