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

R: Error when I try to upload a data-frame to a new table in Redshift database #42

Open
AlexSiormpas opened this issue Jun 5, 2019 · 1 comment

Comments

@AlexSiormpas
Copy link

AlexSiormpas commented Jun 5, 2019

I'm trying to upload the content of a data frame into Redshift database using the following command:
redshiftTools::rs_upsert_table(MyDataFrame, dbcon=con, table_name='NewTableInDB', bucket="mybucket")
but it throws an error below:
Error in parse_aws_s3_response(r, Sig, verbose = verbose) : Forbidden (HTTP 403).
How can I resolve it?

@sicarul
Copy link
Owner

sicarul commented Jul 11, 2019

Just saw it, most likely you don't have permissions to write in "mybucket" with the AWS Key or Role you have setup in your environment.

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