Problem Details errors, request ids, and JSON logs #78
Notifications
Due Date
No due date set.
Blocks
Depends on
#80 Issue a Token and authenticate with it
bobby/hapi
#74 Project skeleton with a live probe
bobby/hapi
Reference: bobby/hapi#78
Reference in new issue
Block a user
Part of #73 (spec: #72)
What to build
Every error any endpoint returns is RFC 9457 Problem Details carrying a
codeand the request'srequest_id. Every request gets arequest_id, and logs are structured JSON lines that include it.Acceptance criteria
application/problem+jsonwithtype,title,status,code, andrequest_idcode500problem with no stack trace or internalsrequest_id, method, route template, status, and duration