-
Notifications
You must be signed in to change notification settings - Fork 44
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
Handle uploads of existing s3 objects #49
Comments
So a few notes on what I've found so far: The upload API appears to only accept
If I upload from mapbox bucket with standard permissions (ie not public readable), I get a 422 error - "Could not access URL". If I change perms to public readable, I can make it work once
However, subsequent uploads with that url fail
Trying to access publicly accessible data from a non-mapbox bucket in a different region fails
Still haven't tested non-mapbox, public in us-east to see if region plays a role. So my current understanding is that direct s3 upload is only available to public objects in mapbox buckets - @rclark does this behavior make sense given what you know of the Upload API? |
From @rclark via chat:
|
It should be possible to accept an s3 uri as an upload object. With a file we transfer the data to s3 with
stage
and then callingcreate
to start the processing. With an s3 uri we skip the transfer and callcreate
directlyQuestions
create
.cc @rclark
The text was updated successfully, but these errors were encountered: