Skip to content

Creating a Parse.File with base64 string fails #1510

Closed
@Fouadktb

Description

@Fouadktb

New Issue Checklist

Issue Description

When Calling new Parse.File with the versions 3.4.1 upwards the process takes a few mins then actually throws an error saying
"Cannot create a Parse.File without valid data URIs or base64 encoded data."

Steps to reproduce

Calling Parse.file with the file blob will reproduce the issue

Actual Outcome

an error gets thrown saying: "Cannot create a Parse.File without valid data URIs or base64 encoded data."

Expected Outcome

getting a Parse File back

Environment

not a server issue but =>

Server

  • Parse Server version: n/a
  • Operating system: n/a
  • Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): n/a

Database

  • System (MongoDB or Postgres): n/a
  • Database version: n/a
  • Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): n/a

Client

  • Parse JS SDK version: 3.4.3

Logs

Screenshot 2022-07-14 at 15 29 26

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugImpaired feature or lacking behavior that is likely assumed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions