-
-
Notifications
You must be signed in to change notification settings - Fork 595
Cannot create a Parse.File without valid data URIs or base64 encoded data. #1512
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
type:bug
Impaired feature or lacking behavior that is likely assumed
Comments
Thanks for opening this issue!
|
I have updated the query Please let me know if you need any other information... |
Could you please submit a PR with a failing test? |
The fix has been implemented in 3.5.0-alpha.2. If the issue still exists there, please let us know and we can re-open this issue. Closing via #1543 |
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Kindly advice me to resolve that issue. Please provide the solution.
New Issue Checklist
Issue Description
I am using Parse version - 3.4.3. I am trying to parse file with base64. The Base64 file should be large. When I try with large base64 string it will throw this error.
Cannot create a Parse.File without valid data URIs or base64 encoded data.
Steps to reproduce
Parse large base64 string you will get this error
Filesystem.readFile({
path: path
})
.then(res => {
let ParseFile = new Parse.File(filename, { base64: basefile }); // Issue Occur here
console.log('fs: ', res.data);
})
.catch(err => console.log('fs err: ', err));
Actual Outcome
Cannot create a Parse.File without valid data URIs or base64 encoded data.
Expected Outcome
Need to save the file.
Environment
Parse version - 3.4.3
Ionic @latest
NPM Latest LTS
Capacitor
Server
Mac OS
FILL_THIS_OUT
Database
FILL_THIS_OUT
FILL_THIS_OUT
FILL_THIS_OUT
Client
3.4.3
Logs
I have attached the screenshot for your reference.
The text was updated successfully, but these errors were encountered: