From 780e3261160b582dfbe9ff764f0f99883bd9eeab Mon Sep 17 00:00:00 2001 From: ferb-comma Date: Sat, 28 Nov 2026 10:53:56 -0600 Subject: [PATCH] tools: point unauthorized error at op auth (#39405) --- openpilot/tools/lib/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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