[Bug 39905] New: Post request to /checkouts results in 500 error
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39905 Bug ID: 39905 Summary: Post request to /checkouts results in 500 error Change sponsored?: --- Product: Koha Version: 24.11 Hardware: PC OS: Linux Status: NEW Severity: major Priority: P5 - low Component: REST API Assignee: koha-bugs@lists.koha-community.org Reporter: myranda.fuentes@groveforlibraries.com QA Contact: testopia@bugs.koha-community.org CC: tomascohen@gmail.com Making a POST request to /api/v1/checkouts with a body of (for example) { "patron_id": 123, "item_id": 456, } Using OAuth and a Bearer token to authenticate is returning a 500 error. This is attempting the request from Aspen Discovery 25.05, for which I've cross created the following issue number, since I can't tell where the problem originates for sure: https://aspen-discovery.atlassian.net/browse/DIS-816. I didn't see anything come up in api-error.log but plack-api-error.log shows the following: POST /api/v1/checkouts: unhandled exception (Mojo::Exception)<<Can't use an undefined value as a HASH reference at /usr/share/koha/lib/Koha/REST/V1/Checkouts.pm line 143.>> First time poster here, so please let me know if I can provide any additional details or how to better submit a bug are also appreciated. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org