I have encountered a reproducible problem with the integrated AI Assistant in MetaEditor 5 (Build 6266, Windows 11).
The AI chat history stopped loading after this ACP error:
ACP JSON-RPC error: -32603 Internal error Error in agent response stream: error occurred while decoding column "accumulated_total_tokens": number too large to fit in target type
The error occurred twice, on November 4 and November 26, 2026.
My investigation indicates that the affected session counter exceeded 2,147,483,647. This strongly suggests an integer type overflow in the ACP/Goose session-loading path.
The SQLite database itself passed integrity checks. The stored session and message records are present, but the completeness of the last streamed assistant response has not been verified.
I have prepared a detailed technical report with timestamps, counter calculations, logs and database integrity results.
Could a MetaQuotes developer investigate this issue and explain how to restore access to existing chat sessions without deleting or modifying the database?
I can provide the full report privately if required.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hello MetaQuotes Team,
I have encountered a reproducible problem with the integrated AI Assistant in MetaEditor 5 (Build 6266, Windows 11).
The AI chat history stopped loading after this ACP error:
ACP JSON-RPC error: -32603 Internal error
Error in agent response stream: error occurred while decoding column "accumulated_total_tokens": number too large to fit in target type
The error occurred twice, on November 4 and November 26, 2026.
My investigation indicates that the affected session counter exceeded 2,147,483,647. This strongly suggests an integer type overflow in the ACP/Goose session-loading path.
The SQLite database itself passed integrity checks. The stored session and message records are present, but the completeness of the last streamed assistant response has not been verified.
I have prepared a detailed technical report with timestamps, counter calculations, logs and database integrity results.
Could a MetaQuotes developer investigate this issue and explain how to restore access to existing chat sessions without deleting or modifying the database?
I can provide the full report privately if required.
Thank you.