Internal Server Error When Fetching Data from Kobo via API

Dear Kobo Support Team,

I hope this message finds you well. I am writing to seek assistance regarding an issue we have recently encountered while fetching data from the Kobo API.

We have been using a C# console application for over two years to retrieve data from various forms on our KoboToolbox account. The application has been functioning without any problems, but recently, for some forms, it returns an “Internal Server Error” response from the server.

I have attempted to troubleshoot the issue, but it appears that the problem might be on the server-side. Given that the application was working perfectly before and no significant changes were made on our end, we suspect there may be an issue with the Kobo API or server related to specific forms.

Could you please assist us in resolving this issue?

Welcome back to the community, @Belalnoory! Maybe try using the API V2 to see if that helps as outlined in this support article Using the API.

it was working using this API, this error just happened since last week

Hi @Belalnoory, can you please try to add .json after the form id such as “data/7522.json”. I think i would solve your problem

added but still its not working, the issue is that it fetches some forms data but only 3 of them gives this error.

@Belalnoory we are in the same shoes and work for the same organisation…ours is pulling submissions from kobo server via powerapps.after almost 2 years, it suddenyly stopped working september 23rd…Looks like a general issue from kobo that they are yet to reveal.

I solved the issue, we used API V1 and I changed my codes to use API V2 and now it’s working fine.

Oh thats great news to hear… So the API v2 works using the guid and not the form number right? and the url has to change to kf.kobo.iom.int? please confirm…Thanks

The url has changed to https://kf.kobo.iom.int/api/v2/assets/{formUuid}/data/?format=json
in V1 we got the data by using form ID but now we have to pass form UUID to get the data.

got it thanks…Please send me a private message in my email..olops2002@gmail.com so we can connect…thanks…I have tried this though but maybe you can share more info

please check your email.