Skip to content

No such route

Type
https://pyeconomics.dev/problems/route-not-found
HTTP status
404
Exit code
5 (not found)
Raised as
RouteNotFoundError

What it means

No route of the API matches the request.

What to do

Check the path against the API's OpenAPI document, at /openapi.json.

Every pyeconomics surface reports a failure as a problem in the form of RFC 9457: its type, title, HTTP status and detail, and the exit code the command line returns. A problem never holds a key, a file path, a host or an upstream URL. Every problem type.