-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
CORS error when uploading via S3 file adapter #722
Comments
I believe the issue is what Parse is trying to solve in this thread [https://github.com/parse-community/parse-server-example/issues/53]. |
Fixed with #876 |
I'm still getting this issue when using the S3Adapter.
This is only a problem when saving files, all other requests are fine. |
What call are you issuing? |
Client code: var myFile = new Parse.File('photo.jpg', bytes);
myFile.save().then(function() {
myObject.set('image', myFile);
myObject.save();
}); General:
Request headers:
Response headers:
Request payload:
Error log:
The file saving works. It's really just saving the object right after that doesn't work. Saving the same object without setting the file works. The same request will also work fine if I run Parse Server locally. |
Environment Setup
Parse Server running on AWS elastic beanstalk with configured S3 files adapter.
Steps to reproduce
Using the JS SDK from an external Website to upload an Image:
Logs/Trace
Error in chrome:
The text was updated successfully, but these errors were encountered: