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
Same problem here.
I uploaded more than a thousand images, and then it starts to throw HTTPError: 403 Client Error: Forbidden for url: http://s3.amazonaws.com/...
So, articles said to add an endpoint, and with s3con = tinys3.Connection(S3_ACCESS_KEY,S3_SECRET_KEY,default_bucket=S3_BUCKET,endpoint='s3-us-west-1.amazonaws.com') it shows 207 '[I 151112 16:20:46 connectionpool:207] Starting new HTTP connection (1): s3-us-west-1.amazonaws.com'
But I can't find the file in the bucket.
Regards
Sorry, I found that it shows the connection was made but the credentials that I passed was wrong.
I put the right credentials and the file are now uploading without problems.
Three steps
conn = tinys3.Connection("xxxx", "yyyy", default_bucket="zzzz", endpoint="pqr")
f = open('x.txt','w')
conn.upload("x.txt", f)
The text was updated successfully, but these errors were encountered: