MetaMask / MetaMask/metamask-mobile

[Bug]: "Error: Request of type 'eth_sign TypedData' already pending for origin metamask.github.io" after rejecting batched Signature requests

Open
#14,074 0 comments 0 reactions 0 assignees View on GitHub
Bugs---Low-Priority INVALID-ISSUE-TEMPLATE Sev2-normal team-confirmations type-bug
Dominant language
TypeScript
Stars
3k
Forks
1.7k
Avg merge
1d 14h
Merged PRs (30d)
669

Description

**Describe the bug**

The problem doesn't seem to arise when rejecting or dismissing standard signature requests (at least I wasn't able to reproduce the bug that way). It occurs under specific conditions, such as when batched or queued sign requests are triggered and subsequently rejected. Following this, the test dApp enters a state where initiating any type of signature becomes impossible due to an existing sign request or approval being pending.
Currently, the only workaround identified involves reinstalling the app. Reconnecting to, closing, or reloading the test dApp page does not resolve the issue.
_Pre-existing issue_

**Expected behavior**

-

**Screenshots/Recordings**

https://github.com/user-attachments/assets/ed10681c-920c-4b35-9c9f-de05694c566b

**Steps to reproduce**

1. Trigger Signature batch / queue
2. Reject
3. Trigger any other signature

**Error messages or log output**

```shell

```

**Detection stage**

In production (default)

**Version**

7.40.0

**Build type**

None

**Device**

iPhone 15, Samsung S24 Ultra

**Operating system**

Android, iOS

Contributor guide

Open the contributing guide

Research direction

The payload names no files or tests. First reproduce the queued or batched signature rejection on the listed iPhone and Android devices, then trace the pending-request state after rejection. Done means rejecting the batch leaves no stale request or approval, and a subsequent signature can be initiated without reinstalling the app.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.