parse-community / parse-community/parse-server

Upload files (Video file) more that 2mb doesn't work

Open
#8,323 7 comments 0 reactions 0 assignees View on GitHub

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
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.