parse-community / parse-community/parse-server
Upload files (Video file) more that 2mb doesn't work
Open
Nobody has claimed this yet.
type:bug
- Dominant language
- JavaScript
- Stars
- 21.4k
- Forks
- 4.8k
- Avg merge
- 7h 45m
- Merged PRs (30d)
- 11
Description
New Issue Checklist
- [x ] I am not disclosing a vulnerability.
- [x ] I am not just asking a question.
- [x ] I have searched through existing issues.
- [x ] I can reproduce the issue with the latest version of Parse Server.
Issue Description
Uploading files more than 2 mb doesn't work, it returns with error -1
Steps to reproduce
Upload video with more that 2mb
Actual Outcome
Class: ParseFile
Function: ParseApiRQ.upload
Status Code: -1
Type: UnknownError
Exception: FormatException: Unexpected character (at character 1)
<html>
^
Expected Outcome
Success
Environment
Parse Server versions from 5.0.0 with Self Hosted in Digital Ocean
Server
- Parse Server version:
5.3.3 - Operating system:
Ubuntu 20.xx - Local or remote host :
Digital Ocean
Database
- System:
MongoDB - Database version:
4 and 5 - Local or remote host:
MongoDB Atlas
Client
- SDK:
iOS, Android, Flutter and cloud code - SDK version:
latest versions
Logs
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the upload through ParseApiRQ.upload with a video larger than 2 MB on the reported Parse Server setup, then inspect the returned HTML and error -1. Compare behavior across the listed client SDKs and server configuration. Done means video files over 2 MB upload successfully and the response is handled without the FormatException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100