chroma-core/chroma · error · ChromaAuthError

Forbidden

Error message

Forbidden

What it means

Error "Forbidden" thrown in chroma-core/chroma.

Source

Thrown at chromadb/auth/token_authn/__init__.py:235

            return user_identity
        except AuthError as e:
            logger.debug(
                f"TokenAuthenticationServerProvider.authenticate failed: {repr(e)}"
            )
        except Exception as e:
            tb = traceback.extract_tb(e.__traceback__)
            # Get the last call stack
            last_call_stack = tb[-1]
            line_number = last_call_stack.lineno
            filename = last_call_stack.filename
            logger.debug(
                "TokenAuthenticationServerProvider.authenticate failed: "
                f"Failed to authenticate {type(e).__name__} at {filename}:{line_number}"
            )
        time.sleep(
            random.uniform(0.001, 0.005)
        )  # add some jitter to avoid timing attacks
        raise ChromaAuthError()

View on GitHub (pinned to aecdd12c8a)

When it happens

Trigger: Thrown at chromadb/auth/token_authn/__init__.py:235 when the library encounters an invalid state.

Common situations: See trigger scenarios.

Understand the failure class


AI-assisted analysis of chroma-core/chroma@aecdd12c8a (2026-08-16). Data as JSON: /api/errors/92e2ee581e3f1cfd. Report an issue: GitHub.