File size too large. Maximum is 10485760.

Comments

3 comments

  • Avatar
    vitor saad

    Hello friends.

    I'm trying to upload an image, but I have this error.

    The image is 1.2MB. What should I do?

    java.lang.RuntimeException: File size too large. Got 14213871. Maximum is 10485760.
    at com.cloudinary.http42.UploaderStrategy.callApi (UploaderStrategy.java:116)

    0
    Comment actions Permalink
  • Avatar
    Itay Taragano

    From the error it seems that the original image is 14213871 bytes (14MB). Your account currently has a default limit of 10MB per image, this is why this error is returned.

    0
    Comment actions Permalink
  • Avatar
    Finn Thomas

    Compress it.

    0
    Comment actions Permalink

Please sign in to leave a comment.