Kong / Kong/unirest-nodejs

Error: Unexpected end of multipart data

Open
#88 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
953
Forks
164
PR merge metrics
No merged PRs in 30d

Description

I am trying to use unirest put method to upload a file from form data.

```
Error: Unexpected end of multipart data
at /Users/anilpai/Desktop/file-uploader/node_modules/dicer/lib/Dicer.js:62:28
at _combinedTickCallback (node.js:370:9)
at process._tickCallback (node.js:401:11)
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the unirest PUT file upload described in the issue and inspect the multipart failure reported at node_modules/dicer/lib/Dicer.js:62. Trace how the form data is passed through the upload path; done means the upload completes without the “Unexpected end of multipart data” error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.