文档首页/ 数据湖探索 DLI/ 常见问题/ Spark作业类/ Spark作业运维类/ Spark作业访问OBS数据时报ResponseCode: 403和ResponseStatus: Forbidden错误
更新时间:2026-01-13 GMT+08:00
Spark作业访问OBS数据时报ResponseCode: 403和ResponseStatus: Forbidden错误
问题现象
Spark程序访问OBS数据时上报如下错误。
Caused by: com.obs.services.exception.ObsException: Error message:Request Error.OBS service Error Message. -- ResponseCode: 403, ResponseStatus: Forbidden
父主题: Spark作业运维类