SAP Knowledge Base Article - Public

3675453 - Error: "key is not expected for the get method" in Datasphere

Symptom

The connection type is Amazon Simple Storage Service. When validating connection, the following error occurs:

-----------------------------------------------------------------------------------

Connection "xxx" 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 error: Detailed error message (purging multipart uploads on null: key is not expected for the get method ?uploads subresource (service: amazon s3; status code: 400; error code: invalidrequest; request id: xxx; s3 extended request id: xxx\/+co=; proxy: null):invalidrequest: key is not expected for the get method ?uploads subresource (service: amazon s3; status code: 400; error code: invalidrequest; request id: x39bcsdbf0khjs5r; s3 extended request id: ywj6vj67m1svtzfefoprkprhntr8bunnquglpy\/cy09ydlggsivybjs0wmqdfzokzcav0wx\/+co=; proxy: null))

Replication Flows: Cause: Possible causes of error: Detailed error message (purging multipart uploads on null: key is not expected for the get method ?uploads subresource (service: amazon s3; status code: 400; error code: invalidrequest; request id: xxx; s3 extended request id: xxx\/uo7jqelsgf4fzzkosl1\/osoddkmaah+ga=; proxy: null):invalidrequest: key is not expected for the get method ?uploads subresource (service: amazon s3; status code: 400; error code: invalidrequest; request id: xxx; s3 extended request id: xxx\/osoddkmaah+ga=; proxy: null))

Correlation ID: xxx-xxx-xxx-xxx-xxx

-----------------------------------------------------------------------------------

Environment

  • SAP Datasphere
  • Amazon Simple Storage Service

Cause

Enter the S3 service endpoint in the Endpoint section, instead of the bucket endpoint.

Resolution

 Expect the Endpoint to be an S3 service endpoint, such as s3.amazonaws.com, or with a region specified: s3.<s3-region>.amazonaws.com. If a bucket name needs to be specified, enter it in the root path. Therefore, to fix the issue, please change the Endpoint to the default s3.amazonaws.com.

Keywords

DWC, DSP, DS, S3, AWS , KBA , DS-DI-CON , Connections , Problem

Product

SAP Datasphere all versions