MetaMask / MetaMask/metamask-extension

[Bug]: Sending NFT on a Custom Network - error: TypeError: a.toLowerCase is not a function.

Open
#35,763 0 comments 0 reactions 1 assignee View on GitHub

@bschorchit is already working on this.

Since Sep 9, 2025.

Bugs---Low-Priority INVALID-ISSUE-TEMPLATE regression-prod-13.2.1 Sev3-low 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**

Send an NFT to their own Trezor wallet. They complete the entire confirmation process, but then MetaMask throws this error: TypeError: a.toLowerCase is not a function.
User Details:
Version: Extension v13.2.1 on Chrome
From: 0xb579F895d0883Da7E65282dAf43bc068413C39AE
To: Their own Trezor address
NFT: [0xfC87DAbAA3A4c3E133E8C82e0d9b95298D928215](https://explorer.apertum.io/token/0xa1b761890c36e356f49F9DF8D495FcFFa76857ad/instance/39246?tab=metadata)
Network: [Apertum](https://explorer.apertum.io/) (custom network)

**Expected behavior**

It should be possible to transfer NFTs to another account without an error.

**Screenshots/Recordings**

[MetaMask state logs.json](https://github.com/user-attachments/files/22229774/MetaMask.state.logs.json)
[nkbihfbeogaeaoehlefnkodbefgpgknn-1757204286000.log](https://github.com/user-attachments/files/22229773/nkbihfbeogaeaoehlefnkodbefgpgknn-1757204286000.log)
Image
Image

**Steps to reproduce**

Go to the NFT you want to send
Type the account address to send it to
Get the error screen

**Error messages or log output**

```shell
TypeError: a.toLowerCase is not a function.
```

**Detection stage**

In production (default)

**Version**

13.2.1

**Build type**

None

**Browser**

Chrome

**Operating system**

Windows

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.