Delete Media/CSV Files via API throws HTTP error 500 since release 2.025.02

Hi KoboToolbox team,

We have KoboToolbox integrated with another system using API v2. One of our features is that Kobo’s media/CSV files are updated daily based on the other system’s data.

This was working correctly. However, since April 15th, it seems we can no longer update the CSV files as we did before. This coincided with the announcement of the release: https://community.kobotoolbox.org/t/release-2-025-02/67289

In order to update the media file, the first step is always to delete the previous CSV file. We identified that this is the step where things are not working. Every time we try to delete a CSV file via the API, it throws the HTTP error code 500. The request is this one:

DELETE to https://kf.kobotoolbox.org/api/v2/assets/aLXuyEmMD4A6L7JTAd7cjL/files/afrhowFaBbkvPfJqP7cseYh

It is then likely that a bug related to the above was introduced in this release. Is there any chance that the KoboToolbox team can look into the issue and provide feedback?

Thank you so much for your help in advance.

Regards,
Luis

@luisrodx, thank you for brining this to our attention. We will troubleshoot your issue and get back to you soon.

Hi @Kal_Lam , thanks for replying to this and take the issue into account.

However, has there been any progress?

Thank you!

Hello @luisrodx,

We were not able to reproduce the problem on our side.

Could you create a simple project in your account with the reproducible error? One project our team can alter without touching your real data.

1 Like

Hi @OlivierL ,

Thank you for looking into this.

I checked now, and I also could not reproduce the error anymore. It seems that this was solved by KoboToolbox in the meantime (?). (We haven’t changed anything in our integration.)

Regards,
Luis

1 Like