When calling the API endpoint to create a bulk export according to the docs I get an error: “detail”: “Failed to validate S3 destination: Access Denied”. I confirmed that when using the same AWS credentials on my local machine I can succesfully connect to the bucket and get / upload files.
curl --request POST \
--url 'https://eu.api.smith.langchain.com/api/v1/bulk-exports/destinations' \
--header 'Content-Type: application/json' \
--header "X-API-Key: ${LANGSMITH_API_KEY}" \
--header "X-Tenant-Id: ${LANGSMITH_TENANT_ID}" \
--data '{
"destination_type": "s3",
"display_name": "Funnel Chat Prod History Export",
"config": {
"bucket_name": "prod-langsmith-history.insify.io",
"prefix": "traces",
"region": "eu-west-1"
},
"credentials": {
"access_key_id": "***",
"secret_access_key": "***"
}
}'
I’m hoping to get in touch with someone from langsmith to help me out.
Thanks,
Ralph