{"record":{"id":"7fc5740eccc3f72a","repo":"crewAIInc/crewAI","slug":"please-sign-up-login-to-crewai-before-using-the-c","errorCode":null,"errorMessage":"Please sign up/login to CrewAI+ before using the CLI.","messagePattern":"Please sign up/login to CrewAI\\+ before using the CLI\\.","errorType":"console","errorClass":"AuthenticationRequiredError","httpStatus":null,"severity":"error","filePath":"lib/cli/src/crewai_cli/command.py","lineNumber":38,"sourceCode":"class BaseCommand:\n    def __init__(self) -> None:\n        self._telemetry = Telemetry()\n        self._telemetry.set_tracer()\n\n\nclass PlusAPIMixin:\n    def __init__(self, telemetry: Telemetry) -> None:\n        try:\n            telemetry.set_tracer()\n            self.plus_api_client = PlusAPI(api_key=get_auth_token())\n        except Exception:\n            telemetry.deploy_signup_error_span()\n            console.print(\n                \"Please sign up/login to CrewAI+ before using the CLI.\",\n                style=\"bold red\",\n            )\n            console.print(\"Run 'crewai login' to sign up/login.\", style=\"bold green\")\n            raise AuthenticationRequiredError from None\n\n    def _validate_response(self, response: httpx.Response) -> None:\n        \"\"\"Handle and display error messages from API responses.\n\n        Args:\n            response: The response from the Plus API.\n        \"\"\"\n        try:\n            json_response = response.json()\n        except (json.JSONDecodeError, ValueError):\n            console.print(\n                \"Failed to parse response from Enterprise API failed. Details:\",\n                style=\"bold red\",\n            )\n            console.print(f\"Status Code: {response.status_code}\")\n            console.print(\n                f\"Response:\\n{response.content.decode('utf-8', errors='replace')}\"\n            )","sourceCodeStart":20,"sourceCodeEnd":56,"githubUrl":"https://github.com/crewAIInc/crewAI/blob/754d7323beb2fd042e33444a115ea2d5a47193f0/lib/cli/src/crewai_cli/command.py#L20-L56","documentation":"Error \"Please sign up/login to CrewAI+ before using the CLI.\" thrown in crewAIInc/crewAI.","triggerScenarios":"Thrown at lib/cli/src/crewai_cli/command.py:38 when the library encounters an invalid state.","commonSituations":"Occurs when a CrewAI+ only CLI command is run without an active CrewAI+ session. Sign up or log in to CrewAI+ (crewai login) before running the command.","solutions":["Run `crewai login` to authenticate with CrewAI+.","Sign up for a CrewAI+ account if you do not have one."],"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-15T17:31:12.345Z"}