You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am experiencing difficulties with the Athena destination in versions 1.3.0 and above of the library. The code I am using worked perfectly in version 1.2.0, but after upgrading, I encounter an error related to invalid security tokens when using AWS credentials specified by profile name. If I provide aws_access_key_id and aws_secret_access_key it works but problem is when I specify profile_name or use AWS_PROFILE env variable.
<class 'dlt.destinations.exceptions.DatabaseTransientException'>
An error occurred (UnrecognizedClientException) when calling the StartQueryExecution operation: The security token included in the request is inval
Expected behavior
No response
Steps to reproduce
Set up a .dlt/secrets.toml file with the following content:
dlt version
1.3.0+
Describe the problem
I am experiencing difficulties with the Athena destination in versions 1.3.0 and above of the library. The code I am using worked perfectly in version 1.2.0, but after upgrading, I encounter an error related to invalid security tokens when using AWS credentials specified by profile name. If I provide aws_access_key_id and aws_secret_access_key it works but problem is when I specify profile_name or use AWS_PROFILE env variable.
Expected behavior
No response
Steps to reproduce
Operating system
macOS
Runtime environment
Local
Python version
3.12
dlt data source
Postgres
dlt destination
AWS Athena / Glue Catalog
Other deployment details
No response
Additional information
The text was updated successfully, but these errors were encountered: