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

only return non-empty creds to prevent code 400 when session token is empty #138

Merged
merged 1 commit into from
Apr 4, 2023

Conversation

N-Clerkx
Copy link
Contributor

@N-Clerkx N-Clerkx commented Apr 4, 2023

When testing out the credential provider functionality, external models pushed to S3 failed with the following error:

Invalid Error: IO Error: Unable to connect to URL "https://blabla.s3.amazonaws.com/some/file/name.parquet": 400 (Bad Request)

This was caused by boto3 not returning a session token in my setup and dbt-duckdb setting an empty string as variable in duckdb.
Now fixed by only passing the credentials with a value.

@jwills
Copy link
Collaborator

jwills commented Apr 4, 2023

Thank you @N-Clerkx!

@jwills jwills merged commit 4aba6c1 into duckdb:master Apr 4, 2023
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

Successfully merging this pull request may close these issues.

2 participants