question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`Unexpected end of JSON input` when I set this option in uppy-form: `multipleResults: false,`

See original GitHub issue

Hi, uppy dashboard sends the following error message: Unexpected end of JSON input wen I set this option in uppy-form: multipleResults: false,

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:13

github_iconTop GitHub Comments

1reaction
arturicommented, Aug 30, 2019

Oh, sorry for misunderstanding 😂

  1. uppy.upload().then(result => console.log(result)) will return the result object: https://uppy.io/docs/uppy/#uppy-upload
  2. uppy.on('complete', (result) => console.log(result)), same thing: https://uppy.io/docs/uppy/#complete
0reactions
arturicommented, Sep 1, 2019

@uppy/form@1.3.0 has been published with the fix to your issue! Thanks for reporting.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error : SyntaxError: Unexpected end of JSON input
Your code is trying to parse an incomplete JSON string, just the first chunk. The most common approach is to declare an array...
Read more >
Unexpected end of JSON input when importing list from Excel
I am getting the error message "Unexptected end of JSON input" when importing a list with items from Excel to Teams.
Read more >
Form - Uppy
Configures whether to extract metadata from the form. When set to true, the Form plugin will extract all fields from a <form> element...
Read more >
uppy/CHANGELOG.md at main · transloadit/uppy · GitHub
@uppy/transloadit: fix outdated file ids and incorrect usage of files (Merlijn ... false by default (#2994 / @arturi); @uppy/form: deprecate multipleResults ...
Read more >
"Unexpected End of JSON Input" Error When Uploading ...
This Tutorial helps to Solved - " Unexpected End of JSON Input " Error When Uploading YouTube ThumbnailThanks friends for watching this video ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found