Problem
Exporting data from Reltio directly to custom S3 location results in the error below:
{
"severity": "Error",
"errorMessage": "S3 Service error",
"errorCode": 1102,
"errorDetailMessage": "S3 Service error: Can't check that object exists on s3: bucket['BucketName'], key['test.zip']. com.amazonaws.services.s3.model.AmazonS3Exception: Forbidden (Service: Amazon S3; Status Code: 403; Error Code: 403 Forbidden; Request ID: <requestID>; S3 Extended Request ID: <requestID>), S3 Extended Request ID: <requestID>"
}
API Call:
POST /jobs/export/<tenant_ID>/entities/_all?fileFormat=json& select=type,URI,crosswalks& taskPartsCount=2& options=parallelExecution& async=true& awsAccessKey=<AK>& awsSecretKey=<SK>& s3Bucket=<BucketName>& s3Path =/RELTIO_EXPORTS/export.zip HTTP/1.1
Host: dev.reltio.com
Solution
The endpoint "_all" does not allow the use of a custom S3 destination, where the results of exports are stored. It does not support custom S3 paths.
Also, we do not recommend passing the AWS parameters via the API call because that method is not secure. The best practice is to always pass them in the Body section or in Headers (as parameters) as shown below:
Reference
https://documentation.reltio.com/exportapi/exportalldata.html
Comments
Please sign in to leave a comment.