Stuck upload image greater than 1MB using NodeJS

Comments

3 comments

  • Avatar
    Thomas Gurung

    Hi Hanif,

    Thank you for reaching out.

    I've checked the logs for your account and we are not getting any files in your upload request. Please ensure your code is including the file in the API request.

    I noticed you included `req.body.files` so perhaps you sending a bunch of files in one go? If so, you will need to create a loop and individually upload the files one at a time.

    Please let me know if you have any other questions or queries.

    Kind Regards,
    Thomas

    0
    Comment actions Permalink
  • Avatar
    Lakshay Gupta

    Hi, I am sending the file in base64 format and getting the same 1mb limit issue

    0
    Comment actions Permalink
  • Avatar
    Thomas Gurung

    Hi Lakshay,

    Thanks for getting back and sending that.

    So I still don't see any requests from your app to our platform. That error looks like a local server error from your end as 1mb limit is not something we enforce for images.

    If you can send us your full code in codesandbox or jsfiddle for example then we can take a deeper look.

    Please let me know if you have any other questions or queries.

    Kind Regards,
    Thomas

    0
    Comment actions Permalink

Please sign in to leave a comment.