I’m currently working on rLogin, which is an application that connects a developer’s dapp to the user’s wallet. As part of the development work, we are implementing hardware wallets. I worked on the Ledger hardware implementation and during the process, I came across multiple error codes that didn’t have an explanation. After Googling them, I came up with nothing, so this post will be a work in progress of the codes that I have discovered:

Error code What it may mean
Ledger device: UNKNOWN_ERROR (0x6a15) Could be connecting to wrong app in Ledger. i.e. they are in the RSK app and they need to be in the Ethereum app.
Ledger device: UNKNOWN_ERROR (0x6b0c) Device is connected but locked
Ledger device: UNKNOWN_ERROR (0x6511) User is not in any app, perhaps the home screen

In our provider, this is how we are transforming the errors to be more helpful to the end user.