Is the '/assets' api v2 endpoint broken? 500 error since April 15th

For months, we’ve had an integration workflow running that queries Kobo project data (form submissions) and the asset (form metadata). The second now fails with 500 error.

I can still fetch data just fine with this request:
GET https://kf.kobotoolbox.org/assets/{projectid}/data/?format=json

However, this request now returns a 500 error when I try to query a list of forms available in my Kobo account:
GET https://kf.kobotoolbox.org/api/v2/assets/?format=json

This also fails: GET https://kf.kobotoolbox.org/api/v2/assets.json

^This was working for months before, but since April 15th I am encountering 500 Internal Server Error error with every request.

This url also used to take me to v2 api docs, but it now fails - see screenshot:


1 Like

@dianedetoeuf fyi this is issue impacting the workflows where we check which Kobo forms are in a project and active

Welcome back to the community, @aleksa_krolls! I did not have any issues when trying it out at my end. FYR …

Thanks @Kal_Lam for the quick reply.

We’ve tried with another credential, and confirm this works for one credential, but not the other… GET https://kf.kobotoolbox.org/api/v2/assets.json

We’re investigating permissions to see what’s different about the 2 credentials, but if this is a credential issue - then I’m curious why the Kobo API returned a 500 error code instead of 4XX to let us know it was auth-related. Keep you posted!

HI @Kal_Lam, it looks like there is a specific issue with my Kobo account - see screenshot which shows it’s failing to list asset. This is preventing us from fetching the list of forms:

Thanks!

Hi @aleksa_krolls , @Kal_Lam, my team is facing the same issue. Is there a solution for this?

Thank you.

@dianedetoeuf and I are still experiencing this issue when trying to query a list of forms via the API (GET /assets). This error only appears with Diane’s account, and not others, so something is wrong with her account/credential. We see more 500 errors today @Kal_Lam - any feedback on this failed to list assets error from Diane’s screenshot? Note that this error is showing up in the frontend UI, as well as in the API response.

1 Like

Hi @Kal_Lam , the failed to list assets error still appears every time I open my account. Can you help?