EXP2003: Route not found
Sent in an error response, as its errorCode.
No route matches the request's method and path. The request is answered with 404 and the problem type not-found.
Fix
Check, in this order:
- The path, including the application's global prefix (for example
/api). - The method: a route registered for
POSTdoes not answerGET. - That the controller is listed in a module the application loads.
Outside production the response lists the closest routes in suggestions. expressots inspect prints every route the source declares; see inspect.
All codes are listed under Error responses.