Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1.38 KB

error-number-to-bn-while-converting-number.mdx

File metadata and controls

32 lines (25 loc) · 1.38 KB
title image
Error: number-to-bn while converting number '0xNaN' to BN.js instance, error: invalid number value. Value must be an integer, hex string, BN or BigNumber instance. Note, decimals are not supported
/img/socialCards/error-number-to-bn-while-converting-number-0xnan-to-bnjs-instance-error-invalid-number-value-value-must-be-an-integer-hex-string-bn-or-bignumber-instance-note-decimals-are-not-supported.jpg

import CustomLayout from "@site/src/layouts/collabHeader";

The following error message can occur when performing a transaction in MetaMask:

MetaMask error

In this case, start by reinstalling MetaMask on your device.

Before you uninstall, make sure you have your Secret Recovery Phrase and seed phrases (or private keys) imported accounts). You do not need to have your MetaMask password, as you'll have to choose a new one as part of the restore process anyway.

For details on how to restore your account after reinstalling MetaMask, please refer to this article.