Hi,
Copilot is failing to load in the Sales Hub. In our DEV environment it stopped loading suddenly without any changes from our side. Previously it was working perfectly fine before.
We have made customizations on top of Copilot in Dynamics 365 Sales.

The error:


We have this solution deployed to 4 environments:
- DEMO. Unmanaged Solution. Older version. Agent stopped working there as well.
- DEV. Unmanaged Solution. Latest version. Agent stopped working
- TEST. Managed Solution. Latest version. Agent is working without any issues.
- QA. Managed Solution. Latest version. Agent is working without any issues. I've tried deploying here from DEV multiple different versions and our solution was still working without any issues.
My previous theory was what if it is related to X-Ms-Pva-Engine-Routing. Both DEV and DEMO environments were going through us-106-eus, QA and TEST were using different one. I've created new agent in the DEV and checked with live demo channel, it was also using us-106-eus routing and working just fine. So I guess that is not the issue.
I've tried removing all our customizations from Conversation Start topic(we had several buttons at the end which were leading to our custom topics) and agent started loading without issues for a moment. But then it failed again.
In test mode in the Copilot Studio agent works perfectly, publishing doesn't give any errors. I've checked copilot setting in the Sales Hub in different environments - they're the same. Checked records in the copilot table for msdyn_salesCopilot and their publish state. At this point I've tried everything suggested by LLM's. I'd appreciate any inputs!