Thrown when one of the tests in the "check" middlewares fails
Checks that we have a valid token linked to a valid resource and that the user is authorised to access it