Describe the bug
I am trying to use the ext-apps sdk in my Agentic application. But I am encountering these errors while using AppBridge when I send notifications to the app. When I send notifications from the host to the inner iframe I get these errors everytime Error: Received a response for an unknown message ID: {"jsonrpc":"2.0","id":1,"result":{}}. Not able to understand why do I get these errors
To Reproduce
Steps to reproduce the behavior:
- Initialize
AppBridge
- Try sending any notification from host for eg:
appBridge.sendToolResult({
content: [],
structuredContent: toolResult
});`
Expected behavior
Instead such errors should not be thrown and the mcp app must process these notifications
Logs
Refer the example error message I provided.
Describe the bug
I am trying to use the
ext-appssdk in my Agentic application. But I am encountering these errors while usingAppBridgewhen I send notifications to the app. When I send notifications from the host to the inner iframe I get these errors everytimeError: Received a response for an unknown message ID: {"jsonrpc":"2.0","id":1,"result":{}}. Not able to understand why do I get these errorsTo Reproduce
Steps to reproduce the behavior:
AppBridgeExpected behavior
Instead such errors should not be thrown and the mcp app must process these notifications
Logs
Refer the example error message I provided.