Skip to content

Uploading large file as base64 string to parse server throws an error #1516

Closed
@samateja

Description

@samateja

New Issue Checklist

Issue Description

Uploading an recorded video of 17mb from ionic android to parse server throws an error.

Steps to reproduce

  • Ionic media capture record 5 or 10 or 30 seconds video
  • convert to base64 - which gives 17mb of string
  • create parse.save('filename', {base64: base64data});

-- Which throws an error at RegExp.test().

Looking for help.

Actual Outcome

Expecting to upload video same as image

Expected Outcome

Expecting to upload video same as image

Environment

version --- "^3.4.3",

Server

  • Parse Server version: "^5.0.0-beta.6",
  • Operating system: Windows
  • Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): Local

Database

  • System (MongoDB or Postgres): Mongo DB
  • Database version: 1.31.3
  • Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): Local

Client

  • SDK (iOS, Android, JavaScript, PHP, Unity, etc): Ionic Angular
  • SDK version: android

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:questionSupport or code-level question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions