SAP Knowledge Base Article - Public

3510243 - 403 Forbidden when connecting the SAP Datasphere to AWS S3

Symptom

When connecting the SAP Datasphere to a third-party application with AWS S3 or Amazon AWS S3 directly, the following error appears:

  • Error for connection "<CONNECTION NAME>":
    Data Flows: Cause: Possible causes of error: Detailed error message (access denied (service: amazon s3; status code: 403; error code: accessdenied; request id:XXXXXXX; s3 extended request id: XXXXXXXXX=; proxy: null))
    Replication Flows: Cause: Possible causes of error: Detailed error message (access denied (service: amazon s3; status code: 403; error code: accessdenied; request id: XXXXXXXX; s3 extended request id: XXXXXXXX=; proxy: null))
          
  • Connection "<CONNECTION NAME>" couldn't be established.
    - Data flows can't be used because of errors in the connection.
    - Replication flows can't be used because of errors in the connection
    - Remote tables are not supported
    Data flows: Cause: Possible causes of errors: Detailed error message (forbidden)
    Replication flows: Cause: Possible causes of error: Detailed error message (forbidden)

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.“ 

Environment

SAP Datasphere

Reproducing the Issue

  • Validate the connection in SAP Datasphere

Cause

  • The AWS S3 server did not authorize access due to some erroneous configuration set in the SAP Datasphere.
  • This error usually occurs when some configuration is wrong. 

Resolution

Check the SAP Help Portal Documentation: Amazon Simple Storage Service Connections and review the configuration, especially the endpoint (the endpoint should not be only "s3.amazonaws.com" with the root path empty). If the problem persists, use the Amazon S3 guide to find out more about the reason for the 403 error on the AWS S3 side.

See Also

Keywords

Amazon, S3, Connection, HTTP, 403, Forbidden, issue, test, ping, third, party, 3rd, DS, Datasphere , KBA , DS-DI-CON , Connections , Problem

Product

SAP Datasphere all versions