Ticket #1316 (closed defect: fixed)
/api/action uncaught exception if missing necessary parameter
| Reported by: | dread | Owned by: | kindly |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | ckan | Keywords: | |
| Cc: | Repository: | ckan | |
| Theme: | none |
Description
curl http://ckan.net/api/action/package_show -d '{"name": "uk-quango-data"}'
This gives 500 error due to KeyError? (it looked for the 'id' param), rather than 400.
Change History
Note: See
TracTickets for help on using
tickets.

now get_or_bust function handles this.