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
<Error>
<Code>AccessDenied</Code>
<Message>Invalid according to Policy: Extra input fields: filepath</Message>
<RequestId>B43BD875E19A39A5</RequestId>
<HostId>I1UNlTbCMlexW3qt1MI8xXk4/v2ZC0yoAs4azU2+u6HtA9bXUUeN2J9YL51HvdqeFM0c3cdis6o=</HostId>
</Error>
I tried to use vdropzone-sending, but I don't know why this function isn't called like fileUploaded function:
sendingEvent (file, xhr, formData) {
console.log('here') // Never reached
}
So what do you think? Anyway I can fix this.
Btw, here is the CORS configuration for the S3 bucket:
I started to believe sendingEvent is only working in the normal mode, and doesn't work in AWS S3 mode. Just tested it right now in the normal upload mode, and it works.
I started to believe sendingEvent is only working in the normal mode, and doesn't work in AWS S3 mode. Just tested it right now in the normal upload mode, and it works.
I am trying to use vue-dropzone component for AWS S3 upload, here is the vue-dropzone component in the project:
And here are the dropzoneOptions and the awss3 I used (awss3 is set dynamically by requesting the a file upload policy from the backend):
With the previous settings I got this error as a response from AWS S3:
Then, I used the following function to add file param to the awss3 option once the vdropzone-file-added get triggered:
And after I still get an error as following:
I tried to use vdropzone-sending, but I don't know why this function isn't called like fileUploaded function:
So what do you think? Anyway I can fix this.
Btw, here is the CORS configuration for the S3 bucket:
Thanks
The text was updated successfully, but these errors were encountered: