Message: Cannot convert string to buffer. toBuffer only supports 0x-prefixed hex strings and this string was given: 0x

Metamask Version 9.5.4

MetaMask encountered an error
Try again by closing and reopening the popup, or contact support here.
Error Details
Message: Cannot convert string to buffer. toBuffer only supports 0x-prefixed hex strings and this string was given: 0x1234000000000000…

Code: Error

Stack: …

We are working on a release to fix this.
Please try the below workaround in the mean time.

  1. disable the extension (locks it)
  2. re-enable it
  3. change network on the lock screen
  4. log in
  5. change back to your previous network
  6. confirmation no longer there