{"record":{"id":"92e2ee581e3f1cfd","repo":"chroma-core/chroma","slug":"forbidden-92e2ee","errorCode":null,"errorMessage":"Forbidden","messagePattern":"Forbidden","errorType":"http","errorClass":"ChromaAuthError","httpStatus":403,"severity":"error","filePath":"chromadb/auth/token_authn/__init__.py","lineNumber":235,"sourceCode":"            return user_identity\n        except AuthError as e:\n            logger.debug(\n                f\"TokenAuthenticationServerProvider.authenticate failed: {repr(e)}\"\n            )\n        except Exception as e:\n            tb = traceback.extract_tb(e.__traceback__)\n            # Get the last call stack\n            last_call_stack = tb[-1]\n            line_number = last_call_stack.lineno\n            filename = last_call_stack.filename\n            logger.debug(\n                \"TokenAuthenticationServerProvider.authenticate failed: \"\n                f\"Failed to authenticate {type(e).__name__} at {filename}:{line_number}\"\n            )\n        time.sleep(\n            random.uniform(0.001, 0.005)\n        )  # add some jitter to avoid timing attacks\n        raise ChromaAuthError()\n","sourceCodeStart":217,"sourceCodeEnd":236,"githubUrl":"https://github.com/chroma-core/chroma/blob/aecdd12c8a891610db8653630b066b32ceb678b5/chromadb/auth/token_authn/__init__.py#L217-L236","documentation":"Generic sentinel AuthError raised in authenticate_or_raise's fallback except clause: any non-AuthError exception during authentication is replaced by this bare 'Forbidden' error after the real failure is logged at debug level. It hides the underlying cause (config error, unexpected shape, etc.), so the debug log is the only place the real reason appears.","triggerScenarios":"Thrown at chromadb/auth/token_authn/__init__.py:235 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Enable debug logging on the server to see the underlying exception type, file, and line","Verify the auth provider configuration and credentials file are well-formed","Retry the request with a known-valid token to isolate whether the failure is token-specific"],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"aecdd12c8a891610db8653630b066b32ceb678b5","analyzedAt":"2026-08-16T21:53:27.228Z","contentChangedAt":"2026-08-16T21:53:27.228Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}