Hi Jonathan, thanks for the hint. After upgrading my instance it worked :)
Regards, Stephan Am 30.06.22 um 14:12 schrieb Jonathan Druart:
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 <[email protected]> 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 [email protected] Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
_______________________________________________ Koha mailing list http://koha-community.org [email protected] Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha

