# fido2.ctap.CtapError: CTAP error: 0x32 - PIN\_BLOCKED

**URL:** <https://onlykey.discourse.group/t/fido2-ctap-ctaperror-ctap-error-0x32-pin-blocked/1238>\
**Category:** Uncategorized\
**Created:** [March 13, 2024, 5:10am UTC](https://onlykey.discourse.group/t/fido2-ctap-ctaperror-ctap-error-0x32-pin-blocked/1238 "2024-03-13T05:10:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![a.s.nurulin](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@a.s.nurulin](https://onlykey.discourse.group/u/a.s.nurulin)\
**Post date:** [March 13, 2024, 5:10am UTC](https://onlykey.discourse.group/t/fido2-ctap-ctaperror-ctap-error-0x32-pin-blocked/1238/1 "2024-03-13T05:10:25Z")

</div>

My OnlyKey stop working

Looks like my pin is blocked, how to unlock?

```auto
> onlykey-cli credential ls
PIN: 
Traceback (most recent call last):
  File "/home/unclestephen/.local/bin/onlykey-cli", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/unclestephen/.local/lib/python3.11/site-packages/onlykey/cli.py", line 1196, in main
    cli()
  File "/home/unclestephen/.local/lib/python3.11/site-packages/onlykey/cli.py", line 520, in cli
    solo.cli.key()
  File "/home/unclestephen/.local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/unclestephen/.local/lib/python3.11/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/home/unclestephen/.local/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/unclestephen/.local/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/unclestephen/.local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/unclestephen/.local/lib/python3.11/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/unclestephen/.local/lib/python3.11/site-packages/solo/cli/key.py", line 553, in cred_ls
    cm = client.cred_mgmt(pin)
         ^^^^^^^^^^^^^^^^^^^^^
  File "/home/unclestephen/.local/lib/python3.11/site-packages/solo/devices/base.py", line 116, in cred_mgmt
    token = client.client_pin.get_pin_token(pin)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/unclestephen/.local/lib/python3.11/site-packages/fido2/ctap2/pin.py", line 260, in get_pin_token
    resp = self.ctap.client_pin(
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/unclestephen/.local/lib/python3.11/site-packages/fido2/ctap2/base.py", line 728, in client_pin
    return self.send_cbor(
           ^^^^^^^^^^^^^^^
  File "/home/unclestephen/.local/lib/python3.11/site-packages/fido2/ctap2/base.py", line 675, in send_cbor
    raise CtapError(status)
fido2.ctap.CtapError: CTAP error: 0x32 - PIN_BLOCKED

```

---

<div class="post-metadata">

**Author:** ![Mango\_Mungo](https://yyz2.discourse-cdn.com/free1/user_avatar/onlykey.discourse.group/mango_mungo/32/26_2.png) [@Mango\_Mungo](https://onlykey.discourse.group/u/Mango_Mungo)\
**Post date:** [March 14, 2024, 12:37pm UTC](https://onlykey.discourse.group/t/fido2-ctap-ctaperror-ctap-error-0x32-pin-blocked/1238/2 "2024-03-14T12:37:53Z")

</div>

Have you set a FIDO2 PIN?  
_FIDO2 != OnlyKey PIN and is entered on the keyboard._

More info:  
[ssh-with-fido2-how-to-set-up-which-pin-code](https://onlykey.discourse.group/t/ssh-with-fido2-how-to-set-up-which-pin-code/749/2)  
[cant-setup-onlykey-as-2fa-device-with-ssh-keys](https://onlykey.discourse.group/t/cant-setup-onlykey-as-2fa-device-with-ssh-keys/1147/2)

I don’t know which disti you use.  
You may have to reinstall onlykey-cli & onlykey-agent according to [PEP 668](https://onlykey.discourse.group/t/python-interpreters-marked-externally-managed-since-debian-12-bookworm/1163).
