chroma-core/chroma · error · ChromaAuthError

Forbidden

Error message

Forbidden

What it means

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

Source

Thrown at chromadb/auth/basic_authn/__init__.py:146

            return UserIdentity(user_id=username)
        except AuthError as e:
            logger.error(
                f"BasicAuthenticationServerProvider.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.error(
                "BasicAuthenticationServerProvider.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/basic_authn/__init__.py:146 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/c16b56e9e755985e. Report an issue: GitHub.