Skip to content

status aborted for successfull upload #41

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

Open
jgrexa opened this issue Aug 6, 2024 · 0 comments
Open

status aborted for successfull upload #41

jgrexa opened this issue Aug 6, 2024 · 0 comments

Comments

@jgrexa
Copy link

jgrexa commented Aug 6, 2024

Describe the bug
Getting status "Upload aborted" for successfull upload, when server response is empty.

To Reproduce
Steps to reproduce the behavior:
Using Dropzone in following way:

<Dropzone
  onChange={updateFiles}
  value={files}
  autoClean
  uploadConfig={{
    urlFromExtFile: (extFile) => replaceUrl(link, extFile),
    method: "PUT",
  }}
  actionButtons={{
    position: "after",
    uploadButton: {},
    abortButton: {},
    cleanButton: {},
    deleteButton: {},
  }}
>
  {files.map((file: ExtFile) => (
    <FileMosaic key={file.id} {...file} onDelete={removeFile} info />
  ))}
</Dropzone>

Expected behavior
Upload should be successfull for status 201 / created and no response.

Screenshots
Screenshot 2024-08-06 at 8 58 44

Desktop (please complete the following information):

  • OS: [macOS]
  • Browser [edge]
  • Version [127]

Additional context

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

1 participant