# API authentication error

**URL:** <https://community.fireblocks.com/t/api-authentication-error/2324>\
**Category:** Support\
**Created:** [March 24, 2025, 10:14am UTC](https://community.fireblocks.com/t/api-authentication-error/2324 "2025-03-24T10:14:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![martin.choraine](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@martin.choraine](https://community.fireblocks.com/u/martin.choraine)\
**Post date:** [March 24, 2025, 10:14am UTC](https://community.fireblocks.com/t/api-authentication-error/2324/1 "2025-03-24T10:14:21Z")

</div>

Since a few days ago, we have been unable to use the Fireblocks API, even though we haven’t changed anything on our side.

```auto
{ "message": "Unauthorized: Error creating public key from user certificate", "code": -7 }

```

What could be causing this issue?

---

<div class="post-metadata">

**Author:** ![Rajalakshmi](https://avatars.discourse-cdn.com/v4/letter/r/8baadc/32.png) [@Rajalakshmi](https://community.fireblocks.com/u/Rajalakshmi)\
**Post date:** [March 25, 2025, 2:42am UTC](https://community.fireblocks.com/t/api-authentication-error/2324/2 "2025-03-25T02:42:45Z")

</div>

Hi @martin.choraine ,  
Thanks for reaching us.  
This error code refers to failing to authenticate your API request. Please double-check that you’re using the right API key and secret, and the API URL for the right environment: [Help article](https://developers.fireblocks.com/docs/get-to-know-fireblocks-workspaces#workspace-types).

---

<div class="post-metadata">

**Author:** ![martin.choraine](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@martin.choraine](https://community.fireblocks.com/u/martin.choraine)\
**Post date:** [March 25, 2025, 7:44am UTC](https://community.fireblocks.com/t/api-authentication-error/2324/3 "2025-03-25T07:44:58Z")

</div>

Thanks for your reply. It was working until now and we havn’t change anything on authentification
