metamask-mobile icon indicating copy to clipboard operation
metamask-mobile copied to clipboard

[Bug]: MMSDK `metamask_batch` rejected requests for the wrong origin

Open christopherferreira9 opened this issue 7 months ago • 2 comments

Describe the bug

metamask_batch coming from MMSDK connections are currently being blocked as the wrong origin is being stored.

Error being returned to the dapp: {"code":-32002,"message":"Request of type 'personal_sign' already pending for origin https. Please wait."}

To get the link for the dapp to reproduce this issue go to https://github.com/christopherferreira9/react-iframe-mmsdk-/pull/2 and check the latest vercel deployment.

Expected behavior

No response

Screenshots/Recordings

No response

Steps to reproduce

  1. Go to this dapp on your mobile browser (the device browser)
  2. Tap Connect -> Accept in MM
  3. Tap Sign message -> see issue in the browser console

Error messages or log output


Detection stage

During release testing

Version

7.47.0

Build type

None

Device

iPhone 11

Operating system

Android, iOS

Additional context

No response

Severity

No response

christopherferreira9 avatar Jun 11 '25 14:06 christopherferreira9

Decreased the severity as this is something we won't be able to fix for 7.47.0.

christopherferreira9 avatar Jun 11 '25 17:06 christopherferreira9

Hi @elribonazo,

I am checking this one as part of the Quality Sprint. Do you believe it's worth keeping it open?

epop-cs avatar Dec 10 '25 15:12 epop-cs