Exporting data to Custom S3 bucket is not working

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&amp; select=type,URI,crosswalks&amp; taskPartsCount=2&amp; options=parallelExecution&amp; async=true&amp; awsAccessKey=<AK>&amp; awsSecretKey=<SK>&amp; s3Bucket=<BucketName>&amp; 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 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. Best practice is to always pass them in the Body section or in Headers (as parameters) as shown below:

mceclip1.png

Reference

https://documentation.reltio.com/exportapi/exportalldata.html

 

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.