MastraM
Mastra19h ago
Ni Ngo

[BUG] All routes with "registerCopilotKit" throws 500 on the latest build

Hi Support Team,
It seems that the changes from root dependencies on Mastra Cloud is impacting to my route that uses
"registerCopilotKit" (@ag-ui/mastra)

Below are my dependencies:

"@ag-ui/client": "0.0.39",
"@ag-ui/core": "0.0.39",
"@ag-ui/langgraph": "0.0.18",
"@ag-ui/mastra": "0.0.10",
"@ai-sdk/openai": "1.3.21",
"@ai-sdk/ui-utils": "^1.2.11",
"@copilotkit/runtime": "1.10.6",
"@copilotkitnext/runtime": "0.0.31",
"@mastra/client-js": "^0.11.2",
"@mastra/cloudflare-d1": "0.12.10",
"@mastra/core": "0.15.3",
"@mastra/deployer-vercel": "0.11.18",
"@mastra/loggers": "^0.10.11",
"@mastra/memory": "0.14.4",
"@mastra/rag": "1.2.6",
"@mastra/vectorize": "0.11.11",
"ai": "5.0.56",
"dayjs": "^1.11.18",
"jose": "^6.1.2",
"openai": "5.9.0",
"rxjs": "^7.8.2",
"zod": "^3.25.76"
The deployment is successful, but all routes to CopilotKit throws 500 as below screen:

Dev env:
  • My project id: agilitys-team/dashboard/projects/orange-limited-pager
  • Deploy id: 060553c1-b8be-42e3-8f96-c8fdd4da2b29
My Stag project is still working well with the same codebase:
  • My project id: agilitys-team/dashboard/projects/red-mango-fish
  • Deploy id: 9496f5ed-b3da-44e0-beaa-66af7f1e6d38
I created GitHub issue: https://github.com/mastra-ai/mastra/issues/11131
525982004-b142f0d0-65ee-4db0-af29-1a113ef63cd1.png
GitHub
Describe the Bug Hi Support Team, It seems that the changes from root dependencies on Mastra Cloud is impacting to my route that uses "registerCopilotKit" (@ag-ui/mastra) Below are my dep...
Was this page helpful?