[Bug]: Lock the wallet console error Error: getBearerToken - unable to proceed, wallet is locked

Author: Unik0rnMaggieCreated Sep 25, 2026Updated Sep 25, 2026
Labelstype-bugSev2-normalteam-extension-platformregression-RC-13.51.0

Describe the bug

when locking MetaMask, there is the following console error:

Error: Failed to get authorization header. getBearerToken - unable to proceed, wallet is lockedCaused by: Error: getBearerToken - unable to proceed, wallet is locked

Expected behavior

No error

Screenshots/Recordings

https://github.com/user-attachments/assets/4aa35e6f-7b48-48a5-9dcd-ac6e4ffc5fe9

Image

Steps to reproduce

  1. Lock wallet
  2. Notice console error

Error messages or log output

bash
service-worker.js:14079 Error: Failed to get authorization header. getBearerToken - unable to proceed, wallet is lockedCaused by: Error: getBearerToken - unable to proceed, wallet is locked
(anonymous) @ service-worker.js:14079
n @ 193.d8c53dfaf126fcf59c6c.js:18
#nG @ 9748.16a42cf4d498dc7d1296.js:11
await in #nG
getSubscriptions @ 9748.16a42cf4d498dc7d1296.js:11
e @ 4065.3514b9eafb3deccacea5.js:5
e @ 4065.3514b9eafb3deccacea5.js:5
call @ 4065.3514b9eafb3deccacea5.js:5
#eo @ 9748.16a42cf4d498dc7d1296.js:6
getSubscriptions @ 9748.16a42cf4d498dc7d1296.js:6
_executePoll @ 9748.16a42cf4d498dc7d1296.js:6
(anonymous) @ 9748.16a42cf4d498dc7d1296.js:6
o @ service-worker.js:14071
setTimeout
(anonymous) @ service-worker.js:14079
(anonymous) @ service-worker.js:14580
(anonymous) @ service-worker.js:14580
_startPolling @ 9748.16a42cf4d498dc7d1296.js:6
startPolling @ 9748.16a42cf4d498dc7d1296.js:11
(anonymous) @ 193.d8c53dfaf126fcf59c6c.js:18
(anonymous) @ 193.d8c53dfaf126fcf59c6c.js:1
(anonymous) @ service-worker.js:14549
withScope @ service-worker.js:14549
m @ service-worker.js:14549
m @ service-worker.js:14580
M @ 193.d8c53dfaf126fcf59c6c.js:1
(anonymous) @ 193.d8c53dfaf126fcf59c6c.js:1
(anonymous) @ service-worker.js:14066
withScope @ service-worker.js:14549
c @ service-worker.js:14549
u @ service-worker.js:14580
C @ service-worker.js:14066
R @ 193.d8c53dfaf126fcf59c6c.js:1
p @ 193.d8c53dfaf126fcf59c6c.js:1
(anonymous) @ 193.d8c53dfaf126fcf59c6c.js:18
(anonymous) @ 2791.2f6efd99c897d71e45d2.js:1
C @ 2148.b7b2a821c92dc2c510c9.js:6
A @ 2148.b7b2a821c92dc2c510c9.js:6
(anonymous) @ 2148.b7b2a821c92dc2c510c9.js:6
_write @ 2148.b7b2a821c92dc2c510c9.js:3
I @ 2148.b7b2a821c92dc2c510c9.js:6
R @ 2148.b7b2a821c92dc2c510c9.js:6
(anonymous) @ 2148.b7b2a821c92dc2c510c9.js:6
p @ 3033.df181b5b19ff36237cb3.js:22
(anonymous) @ 2791.2f6efd99c897d71e45d2.js:1
Q @ 3033.df181b5b19ff36237cb3.js:22
J @ 3033.df181b5b19ff36237cb3.js:22
(anonymous) @ 3033.df181b5b19ff36237cb3.js:22
(anonymous) @ 4305.d62aa55a6e21b4e4acdc.js:1
service-worker.js:14079 SubscriptionServiceError: Failed to get authorization header. getBearerToken - unable to proceed, wallet is lockedCaused by: Error: getBearerToken - unable to proceed, wallet is locked

Where was this bug found?

Internal release testing

Version

13.51.0

Build type

No response

Browser

Chrome

Operating system

MacOS

Hardware wallet

No response

Additional context

No response

Severity

No response

Source: MetaMask/metamask-extension