Return a BadRequest error when dynamic path is unresolvable.
Docs for dynamicPath
Add err.message to example BadRequest error handler.