Hello,
I am attempting to update a specific column variable within existing data using submission IDs. However, the updates are failing, and an error is being displayed: " Server Error (500)"
The code is in python:
Thank you very much LAM. I followed the video that explains the solution using the Postman tool, and I applied the process, but I still get the same “500 Internal Server Error.” I think it’s a server-related error because the same script was working before. Could there be a blocking mechanism after several unsuccessful attempts? Ngnix or other bugs on your server! Thank you.
I have exactly the same problem. (use the same code)
What I have discovered is that it occurs only if the record was created via Kobocollect.
If its created via Enketo, the code works fine.
As soon as the record created via Kobocollect was ‘manually’ updated via Enketo, the code works as well.
I also have the same problem, and indeed when I edit the submission with enketo via the UI, then use the API it work, but for the data that is not yet edited via enketo, the api doesn’t work
Has there been any resolution on this? We are having the same problem with our KoboToolbox instance. We want to bulk update our records but the API is failing due to reasons highlighted in this thread (producing error 500 especially for records submitted from the mobile app). Any help on this?
Is there a solution to this? We also have the same issue with a file that has been working for over 2 years.
However, in our case, we are pulling the data into Excel through the Kobo API using Powerquerry.
hi @sector, do you want to edit your data though api? or you just want to connect your data to power query? what i understood from your message, you are trying to achieve the option two
I asked because this is to edit the submission though API. If your link were working over the last two years, you probably using the kobo.humanitarian.info link. This link is no longer working you need to change your link to https://eu.kobotoolbox.org/
I have changed the API and the issue remains, although I have also noticed something unique I can associate the error with, my data is huge and since I am not on a paid subscription it might be declining the request because I have tried to refresh data from other forms under the same server even using the https//kc.humanitarianresponse.info and they were a success…