{"record":{"id":"e9e4b63018c595e6","repo":"crewAIInc/crewAI","slug":"error-error-data-get-error-trigger-not-found","errorCode":null,"errorMessage":"Error: {error_data.get('error', 'Trigger not found')}","messagePattern":"Error: (.+?)","errorType":"http","errorClass":"SystemExit","httpStatus":404,"severity":"error","filePath":"lib/cli/src/crewai_cli/triggers/main.py","lineNumber":58,"sourceCode":"            if \"/\" not in trigger_path:\n                console.print(\n                    \"[bold red]Error: Trigger must be in format 'app_slug/trigger_slug'[/bold red]\"\n                )\n                raise SystemExit(1)\n\n            app_slug, trigger_slug = trigger_path.split(\"/\", 1)\n\n            console.print(\n                f\"[bold blue]Fetching trigger payload for {app_slug}/{trigger_slug}...[/bold blue]\"\n            )\n            response = self.plus_api_client.get_trigger_payload(app_slug, trigger_slug)\n\n            if response.status_code == 404:\n                error_data = response.json()\n                console.print(\n                    f\"[bold red]Error: {error_data.get('error', 'Trigger not found')}[/bold red]\"\n                )\n                raise SystemExit(1)\n\n            self._validate_response(response)\n\n            trigger_data = response.json()\n            self._display_trigger_info(trigger_data)\n\n            self._run_crew_with_payload(trigger_data.get(\"sample_payload\", {}))\n\n        except Exception as e:\n            console.print(\n                f\"[bold red]Error executing crew with trigger: {e}[/bold red]\"\n            )\n            raise SystemExit(1) from e\n\n    def _display_triggers(self, triggers_data: dict[str, Any]) -> None:\n        \"\"\"Display triggers in a formatted table.\"\"\"\n        apps = triggers_data.get(\"apps\", [])\n","sourceCodeStart":40,"sourceCodeEnd":76,"githubUrl":"https://github.com/crewAIInc/crewAI/blob/754d7323beb2fd042e33444a115ea2d5a47193f0/lib/cli/src/crewai_cli/triggers/main.py#L40-L76","documentation":"Printed with SystemExit(1) by TriggerCommand.execute_with_trigger() when the Plus API responds 404 to get_trigger_payload(app_slug, trigger_slug). Either the app or the trigger slug does not exist (or is not visible to your account), and the error message from the API body is displayed (falling back to 'Trigger not found').","triggerScenarios":"Running `crewai trigger execute wrong-app/right-trigger` or any slug pair not registered in your CrewAI Plus workspace: deleted integrations, typo'd slugs, or a trigger belonging to a different workspace/team.","commonSituations":"Integration was removed or renamed in the Plus dashboard after the developer copied the path; slug typo; using a personal key against a team workspace where the app is not shared.","solutions":["Run `crewai trigger list` to see the slugs actually available and copy them exactly.","Reinstall/re-add the integration in the CrewAI Plus dashboard if it was removed.","Confirm you are authenticated to the workspace that owns the app (check `crewai whoami` / re-login).","Watch for trailing whitespace or case mismatches in slugs."],"exampleFix":null,"handlingStrategy":"validation","validationCode":"response = plus_api_client.get_trigger_payload(app_slug, trigger_slug)\nif response.status_code == 404:\n    available = plus_api_client.get_triggers().json()\n    slugs = {f\"{a['slug']}/{t['slug']}\" for a in available.get(\"apps\", []) for t in a.get(\"triggers\", [])}\n    raise SystemExit(f\"Unknown trigger. Available: {sorted(slugs)}\")","typeGuard":null,"tryCatchPattern":"if response.status_code == 404:\n    # re-check against the trigger list rather than retrying blindly\n    list_response = plus_api_client.get_triggers()\n    # reconcile slugs here","preventionTips":["Fetch the trigger list first and validate the slug pair before executing","Re-check the Plus dashboard after integrations are renamed or removed","Ensure you are authenticated to the workspace owning the app"],"tags":["crewai","cli","triggers","not-found","api"],"backgroundTag":null,"analyzedSha":"754d7323beb2fd042e33444a115ea2d5a47193f0","analyzedAt":"2026-08-15T04:06:56.746Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}