MetaMask / MetaMask/metamask-extension

[Bug]: Cannot read properties of undefined (Reading 'toLowerCase')

Open
#41,341 0 comments 0 reactions 0 assignees View on GitHub
external-contributor INVALID-ISSUE-TEMPLATE needs-triage regression-prod-13.22.0 team-confirmations type-bug
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

**Describe the bug**

On open wallet:
Cannot read properties of undefined (Reading 'toLowerCase')

**Expected behavior**

Open the wallet

**Screenshots/Recordings**

Image

**Steps to reproduce**

1. On open wallet
2. On do any transaction
3. On connect wallet

**Error messages or log output**

```shell
Message: Cannot read properties of undefined (reading 'toLowerCase')
Code: TypeError
Stack:
TypeError: Cannot read properties of undefined (reading 'toLowerCase')
at chrome-extension://nkbihfbeogaeaoehlefnkodbefgpg/...
at Array.find ()
at chrome-extension://nkbihfbeogaeaoehlefnkodbefgpg/...
at e. (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpg/...)
at chrome-extension://nkbihfbeogaeaoehlefnkodbefgpg/...
```

**Where was this bug found?**

Live version (from official store)

**Version**

13.22.0

**Build type**

None

**Browser**

Chrome

**Operating system**

Windows

Contributor guide

Open the contributing guide

Research direction

No source file or test is identified. Reproduce the error in Chrome using MetaMask 13.22.0 by opening the wallet and attempting a transaction or wallet connection, then use the reported toLowerCase stack trace to locate the failing code. Done means these wallet flows complete without the TypeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.