IPUMS API Connection Error Message: 'Connection aborted.'

Hello!

I have code that I use commonly to download data through the IPUMS API, specifically using the ipumspy python library. When using the code now, I get the following error message consistently after pulling data for ~ 15 minutes:

IpumsApiException: other error occured: (‘Connection aborted.’, RemoteDisconnected(‘Remote end closed connection without response’))

Is there any troubleshooting around this error?

I’m glad we were able to connect through messaging and that you’ve able to submit API calls after posting on the forum. Our IT team suspects that this error was due to a temporary network issue. For those who may see a similar error message when using code that has worked in the past, the best thing to do is to wait 10-15 minutes and resubmit your request. In many cases, the network issue may resolve on its own during this time. It may also be helpful to review the IPUMS API changelog to see if any recent updates have introduced a breaking change to the API.