diff --git a/openpilot/tools/lib/api.py b/openpilot/tools/lib/api.py index c340d47846..f10bbe0e32 100644 --- a/openpilot/tools/lib/api.py +++ b/openpilot/tools/lib/api.py @@ -35,7 +35,7 @@ class CommaApi: resp_json = resp.json() if isinstance(resp_json, dict) and resp_json.get('error'): if resp.status_code in [401, 403]: - raise UnauthorizedError('Unauthorized. Authenticate with openpilot/tools/lib/auth.py') + raise UnauthorizedError('Unauthorized. Authenticate with op auth') e = APIError(str(resp.status_code) + ":" + resp_json.get('description', str(resp_json['error']))) e.status_code = resp.status_code