{"record":{"id":"7b942e2091813e5f","repo":"crewAIInc/crewAI","slug":"domain-is-required-please-set-it-in-the-configura","errorCode":null,"errorMessage":"Domain is required. Please set it in the configuration.","messagePattern":"Domain is required\\. Please set it in the configuration\\.","errorType":"validation","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"lib/crewai-core/src/crewai_core/auth/providers/auth0.py","lineNumber":39,"sourceCode":"        return f\"https://{self._get_domain()}/\"\n\n    def get_audience(self) -> str:\n        if self.settings.audience is None:\n            raise ValueError(\n                \"Audience is required. Please set it in the configuration.\"\n            )\n        return self.settings.audience\n\n    def get_client_id(self) -> str:\n        if self.settings.client_id is None:\n            raise ValueError(\n                \"Client ID is required. Please set it in the configuration.\"\n            )\n        return self.settings.client_id\n\n    def _get_domain(self) -> str:\n        if self.settings.domain is None:\n            raise ValueError(\"Domain is required. Please set it in the configuration.\")\n        return self.settings.domain\n","sourceCodeStart":21,"sourceCodeEnd":41,"githubUrl":"https://github.com/crewAIInc/crewAI/blob/754d7323beb2fd042e33444a115ea2d5a47193f0/lib/crewai-core/src/crewai_core/auth/providers/auth0.py#L21-L41","documentation":"Error \"Domain is required. Please set it in the configuration.\" thrown in crewAIInc/crewAI.","triggerScenarios":"Thrown at lib/crewai-core/src/crewai_core/auth/providers/auth0.py:39 when the library encounters an invalid state.","commonSituations":"Occurs when the Auth0 provider configuration is missing the domain. Set the domain in the configuration (or AUTH0_DOMAIN environment variable) before initializing the provider.","solutions":["Set the domain in your auth provider configuration (e.g. your-tenant.auth0.com).","Verify the domain matches your Auth0 tenant domain."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"754d7323beb2fd042e33444a115ea2d5a47193f0","analyzedAt":"2026-08-15T04:06:56.746Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}