Files
doc-exports/docs/dli/umn/dli_03_0156.html
Su, Xiaomeng 3a07c40729 dli_umn_20250212
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Su, Xiaomeng <suxiaomeng1@huawei.com>
Co-committed-by: Su, Xiaomeng <suxiaomeng1@huawei.com>
2025-02-24 08:11:08 +00:00

1.2 KiB

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 Up AK/SK So That a General Queue Can Access Tables Stored in OBS?