Help Center/
Data Lake Insight/
FAQs/
Spark Jobs/
Spark Job O&M/
Why Do I Get "ResponseCode: 403" and "ResponseStatus: Forbidden" Errors When a Spark Job Accesses OBS Data?
Updated on 2024-11-15 GMT+08:00
Why Do I Get "ResponseCode: 403" and "ResponseStatus: Forbidden" Errors When a Spark Job Accesses OBS Data?
Symptom
The following error is reported when a Spark job accesses OBS data:
Caused by: com.obs.services.exception.ObsException: Error message:Request Error.OBS servcie Error Message. -- ResponseCode: 403, ResponseStatus: Forbidden
Solution
Set the AK/SK to enable Spark jobs to access OBS data.
For details, see How Do I Set the AK/SK for a Queue to Operate an OBS Table?
Parent topic: Spark Job O&M
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