Help Center/ Object Storage Migration Service/ FAQs/ Error Codes and Solutions/ TRF.0052 Invalid CORS configurations.
Updated on 2026-07-06 GMT+08:00
TRF.0052 Invalid CORS configurations.
Symptom
When you send a cross-origin request, the request is rejected. The possible reason is that the Cross-Origin Resource Sharing (CORS) policy is not correctly configured for the destination bucket, or the CORS configuration does not match the request.
Possible Causes
- No CORS policy is configured for the bucket.
- The allowed origin, method, and header parameters in the CORS configuration do not match the actual request.
- The OPTIONS request sent by the client does not pass the CORS policy verification.
Solution
- Check whether the request initiated by the client is a cross-domain request. This error occurs if the protocol, domain name, and port number in the request are different from those on the current page.
- Ensure that CORS policies are configured for the destination bucket.
- Ensure that the values of parameters such as AllowedOrigins, AllowedMethods, and AllowedHeaders in the CORS configuration are the same as those in the request.
- Check the OPTIONS request response on the Network panel of the browser's developer tool to see if the correct CORS header information is returned.
Parent topic: Error Codes and Solutions
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