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

  • Profile Image
    Asked on March 30, 2016 at 09:54 AM



    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, 

  • Profile Image
    Answered 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
    Answered 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 on April 08, 2016 at 09:03 AM


    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,



  • Profile Image
    Answered 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.