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

    "The connection was closed" error message displayed while accessing the data using API

    Asked by swapna_summit on March 30, 2016 at 09:54 AM

    Hi, 

     

    We have been encountering connection issues where there is a problem connecting to the web service to retrieve data.

     

    Please see part of the error message we are receiving:

    Unable to read data from the transport connection: The connection was closed

    We have tried requesting and updating a new API key but are still getting this error - we are not able to pull any data.

     

    Please help, 

     

    Many Thanks, 

    connection message API
  • Profile Image
    JotForm Support

    Answered by Kiran on March 30, 2016 at 12:02 PM

    Do you mean to say the error is displayed while trying to retrieve data using JotForm API? If so, please provide us with more information on the issue like where exactly the API is being used along with the form ID/URL so that we can try to replicate the issue at our end? This would help us in investigating the issue further and provide you with necessary assistance.

    We will wait for your response. Thank you! 

  • Profile Image
    JotForm Support

    Answered by Kiran on March 31, 2016 at 04:02 AM

    Great! Glad to see that the issue is now resolved for you. Please do not hesitate to get in touch with us if you need any further assistance. We will be happy to help. 

    Thank you for using JotForm!! 

  • Profile Image

    Answered by swapna_summit on April 08, 2016 at 09:03 AM

    Hi,

    We seem to be having this problem more frequently now, 

    Some of my team members aren't here today but I will provide you with more information regarding the Jotform API when they are in on Monday.

     

    Im not entirely sure at what point / formID it could be failing as we pull at data from 100s of forms, 

     

    Hoping you can assist us here,

     

    Thanks,

  • Profile Image

    Answered by Ben on April 08, 2016 at 10:10 AM

    If you are experience the issue with API itself, it would be best to open up a thread on our developers forum instead. This forum is for online JotForm builder, while any custom development issues, should be checked in there. This is the link to the same: http://developers.jotform.com/forum

    Based on what you have mentioned it seems that you are running your own code, which at some times is giving you an error "Unable to read data from the transport connection: The connection was closed". It also seems that you are utilizing API a lot, so it is good to note that there is a limit to API calls which you would need to watch out for.

    For example, for today you have up to 1500 (1509 to be precise) API calls available, after it will no longer work for you - for today.

    So if you do not have any code in place to check for this, it might mean that your code ignores the limit and tries to get further calls made after it had used it all up.