What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How to handle broken file uploads?

    Asked by imicallef on October 30, 2014 at 07:39 PM

    Hi there,

    So I have a store on Shopify that handles customer file uploads through Jotform. Unfortunately I had a situation on the last one, where a file did not upload properly and I got the error below on trying to get it (happens in all browsers, no matter what I try).

    I can't afford this error happening again and asking customers to reupload images. Can you advise on how I can make sure customer uploads go through each time? I can alter my form if needed. The upload process can take longer as long as I can see their uploads each time. Thank you.

     

    This XML file does not appear to have any style information associated with it. The document tree is shown below.
    <Error>
    <Code>AccessDenied</Code>
    <Message>Access Denied</Message>
    <RequestId>9E249C3035FF3DED</RequestId>
    <HostId>
    ICbcG33UiDR+AaFZhmXL3MgRFhjjYBhg7oVhEgNEAeA9JPecO9OzwX1NL6avE0xl
    </HostId>
    </Error>
    Page URL:
    https://jufs.s3.amazonaws.com/guest_42984732653060/42984311353151/2904<br/>42988211381180/1063393_4987927340861_1163256112_o.jpg

    uploads JotForm style xml
  • Profile Image
    JotForm Support

    Answered by Charlie on October 30, 2014 at 08:42 PM

    Hi,

    I apologize for the inconvenience.

    There are a number of reasons why the uploaded file may become broke.

    1. During submission the user was disconnected from the internet or having network issues.

    2. The file type is not permitted or cannot be read

    3. Upload file size is not in the allowed limit

     

    You can use the File Upload field that we have, but I believe you would like your users to see a preview of their upload right? I'm not sure which one you have already tried, but these are the available widgets that seems to be a fit of your need:

    http://widgets.jotform.com/widget/drag_and_drop_upload

    http://widgets.jotform.com/widget/image_upload_preview 

     

    But please do take note that each has it's limitations. For the default File Upload field, you can learn more about allowable file types, file size limit, changing settings, etc... Here in the following links:

    http://support.jotform.com/help/29-Upload-Field-Allowed-File-Types 

    http://support.jotform.com/help/33-Changing-the-Upload-Size-Limit 

     

    As of now, the widgets works fine in my end, but if you happen to get the same error again, you can contact us immediately. I would recommend you test your forms' upload field to see if you can reproduce the problem in your end. 

    I hope this helps.

    Thanks.