Questions tagged [uppy]

A full-featured file uploader for webbrowsers that supports tus

Sleek, modular open source JavaScript file uploader.

Uppy fetches files locally and from remote places like Dropbox or Instagram. With its seamless integration, reliability and ease of use, Uppy is truly your best friend in file uploading.

95 questions
0
votes
1 answer

How to show loading when uploading many files in uppy library?

im using uppy library in reactjs, when i tried to upload many files nothing happened until the files uploaded (when selecting files in the window dialog and before getting files). How can i catch the event when i choosed the files in the window…
0
votes
0 answers

Error when trying to use Uppy in React.js

Trying to use a presigned-url for aws but I keep getting the error when I try to upload a photo: [Uppy] [15:26:41] Failed to upload buffalo1.jpg AwsS3: got incorrect result from 'getUploadParameters()' for file 'buffalo1.jpg', expected an object '{…
12jikan
  • 23
  • 6
0
votes
1 answer

ReactJS Uppy - Show images in uppy dashboard after state changes | How prefill/preload images in uppy.io library

I am using Uppy Dashboard and whenever the state changes uppy reset its state and the uploaded images are not shown. How can I add/show images in my uppy? How prefill/preload images in uppy.io library? Any help will be appreciated. Thanks Below is…
0
votes
1 answer

Uppy DropTarget with React

How can I use the Uppy DropTarget plugin with React? I'm trying to do some things like that. But doesn't work. import React from 'react' import { DragDrop, useUppy } from '@uppy/react' const Dropzone: React.FC = () => { const uppy = useUppy(()…
Evgeny Alekseev
  • 145
  • 3
  • 13
0
votes
1 answer

.Net core and React uppy.io 110mb file upload exception "Unexpected end of request content."

I have a Asp.net core 3.1 api and react typescript application. When large file uploaded then i get exception this error "Unexpected end of request content." React component is Uppy.io and upload method is XHR I use nginx for request receive I…
ismail ERDEN
  • 138
  • 1
  • 9
0
votes
1 answer

Cannot find module '@uppy/core' or its corresponding type declarations

I'm trying to run Uppy React example from official site https://uppy.io/docs/react/. I'm new with React, I installed npm install @uppy/react but it showed next errors:
0
votes
1 answer

Uploading Multipart Files with Uppy/Laravel/Vue

I'm using Uppy's Vue components to handle uploading large files and I'm having trouble getting it to work. I've followed the suggestion by Janko here which involves setting the companionUrl in Uppy to point to my server, then write the necessary…
Josh
  • 714
  • 2
  • 8
  • 20
0
votes
0 answers

converting strings into an ActionDispatch::Http::UploadedFile object in Rails

Uploading a file the Rails way looks like this in console: Started POST "/onboard/add_doc" for 2600:1700:ba00:3970:1900:ab4c:b842:8b5c at 2021-03-13 12:42:47 -0800 Processing by Users::DocsController#create as HTML Parameters: {"utf8"=>"✓",…
calyxofheld
  • 1,538
  • 3
  • 24
  • 62
0
votes
1 answer

Uppy showSelectedFiles not hiding files

I have this supersimple ReactJs Codesandbox can someone explain how the showSelectedFiles: false works. I read the docs that the selected files after user have picked files is hidden but they are not in my Sandbox. What I'm I doing wrong?
Kid
  • 1,869
  • 3
  • 19
  • 48
0
votes
1 answer

How to retry Uppy (using XHR plugin) requests failed due to JWT token expired error

Currently, I am using the Uppy library to upload files in react using the XHR plugin. Sometimes while uploading files the JWT token gets expired and the upload request fails.
0
votes
1 answer

Uncaught TypeError: Cannot read property '1' of null?

I'm getting an error: Uncaught TypeError: Cannot read property '1' of null. What does this mean? The source of the error is the line that says id: file.meta['key'].match(/^cache\/(.+)/)[1]: uppy.on('upload-success', (file, response) => { //…
calyxofheld
  • 1,538
  • 3
  • 24
  • 62
0
votes
1 answer

Issue with Uppy.ImageEditor plugin

I'm trying to use the image uploader plugin called uppy.io(https://uppy.io/). And it is internally using an image-editor plugin(https://uppy.io/docs/image-editor/). so the issue that I'm facing while trying to use the Uppy.ImageEditor is it returns…
Vivekraj K R
  • 2,418
  • 2
  • 19
  • 38
0
votes
2 answers

Uppy "PUT" XHR(multipart/form-data) request results to empty Laravel $request array

Hope you guys can help me. I'm using Uppy, with XHRUpload plugin, to upload a file but I'm getting an empty array of $request on the server side (Laravel) when I'm about to update a file using PUT request. I've tried method spoofing but still no…
rjcarl
  • 702
  • 6
  • 11
0
votes
1 answer

ReferenceError uppy is not defined

Error image I implement shrine gem with cropperjs and uppy in rails, I refer to Usage of shrine Image Cropping and Example code Then I implemented code, seemingly code is correct, But I got some errors Module not found: Error: Can't resolve…
Mick mic
  • 60
  • 9
0
votes
2 answers

How can I get this jQuery selector to work properly? With escaped characters

I'm trying to find a particular element that's returned from Uppy, a file uploading library. But for some reason the selector I've put together keeps coming up empty. Here's what it looks like: Object.keys(updatedFiles).forEach(fileId => { let…
Spectator6
  • 363
  • 1
  • 5
  • 19