This support forum is no longer in use. Please use the Cloudinary Community at https://community.cloudinary.com/ to receive assistance from other members of the community and from Cloudinary's support team. For account-specific questions or if you believe that you've encountered a bug, please contact the Cloudinary team directly via the "submit a request" option on this support site.

Catching upload errors

Comments

1 comment

  • Official comment
    Avatar
    Shirly Manor

    Hi Jorg,

    In order to catch the error, you can catch `cloudinaryfail`. For example:
    $(function() {

    $(function() {
    $('.upload_field').unsigned_cloudinary_upload("UPLOAD_PRESET",{cloud_name:'<CLOUD_NAME>'})
    .on("cloudinaryfail", function(e,data){
    console.log("error! ", data.jqXHR.responseText);
    });
    });

     

    Comment actions Permalink

Post is closed for comments.