Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Athena Connector - use session token #2194

Open
andrea-lascola opened this issue Dec 20, 2024 · 1 comment
Open

Athena Connector - use session token #2194

andrea-lascola opened this issue Dec 20, 2024 · 1 comment

Comments

@andrea-lascola
Copy link

I am not able to actually use AWS_SESSION_TOKEN when leveraging an Athena connector.
From here: https://github.com/sodadata/soda-core/blob/main/soda/athena/soda/data_sources/athena_data_source.py
It seems that session token is used in the constructor but not when actually creating the connection, this lead to an error while connecting:

Traceback (most recent call last):
...
botocore.exceptions.ClientError: An error occurred (UnrecognizedClientException) when calling the StartQueryExecution operation: The security token included in the request is invalid.

@tools-soda
Copy link

CLOUD-9060

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants