[Koha] Delete patron via REST API - Missing property - Status 500

Jonathan Druart jonathan.druart at bugs.koha-community.org
Thu Jun 30 19:12:52 NZST 2022


Hi Stephan,

It works as expected for me on master, which version of Koha are you using?

I noticed something similar last week:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31022

Regards,
Jonathan

Le jeu. 30 juin 2022 à 04:25, zefanja <koha at zefanjas.de> a écrit :
>
> Hello,
>
> I want to delete patrons with the REST API. If the patron has no
> checkouts, everything works fine. But when the patron has checkouts, I
> get this as response from my HTTP DELETE request:
>
> {"errors":[{"message":"Missing property.","path":"\/errors"}],"status":500}
>
> The API docs say that it should return a 409 status with errors →
> has_checkouts
>
> https://api.koha-community.org/#operation/deletePatron
>
> Any ideas? I send the requests to this url:
> https://our-library-intra.com/api/v1/patrons/23
>
> Regards,
> Stephan
> _______________________________________________
>
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha


More information about the Koha mailing list