This sounds similar to the situation recently discussed here:
Reducing the size and complexity can get rid of the error. You can create new chats scoped to components or features. Or you could download the code, simplify your local copy, and upload the less complex code to a new chat