# Error: 401 Unauthorized: { "message": "Unauthorized: JWT is missing", "code": -3}

**URL:** https://community.fireblocks.com/t/error-401-unauthorized-message-unauthorized-jwt-is-missing-code-3/1095
**Category:** Support
**Tags:** help-center
**Created:** [June 7, 2024, 5:56am UTC](https://community.fireblocks.com/t/error-401-unauthorized-message-unauthorized-jwt-is-missing-code-3/1095 "2024-06-07T05:56:43Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![sarthak.saxena](https://avatars.discourse-cdn.com/v4/letter/s/d07c76/32.png) [@sarthak.saxena](https://community.fireblocks.com/u/sarthak.saxena)
#### Post date: [June 7, 2024, 5:56am UTC](https://community.fireblocks.com/t/error-401-unauthorized-message-unauthorized-jwt-is-missing-code-3/1095/1 "2024-06-07T05:56:43Z")

</div>

![fireblockconnection](https://us1.discourse-cdn.com/flex015/uploads/fireblocks/original/1X/1207ceffd95bb6d10e2ec67ca49e84f02e02dc23.png)  
 ![fireblockadapter](https://us1.discourse-cdn.com/flex015/uploads/fireblocks/original/1X/b908e64e3668cb42ea49842a0d209303fe99c3bd.png)  
 ![codewhereerroroccurs](https://us1.discourse-cdn.com/flex015/uploads/fireblocks/original/1X/db77b1472a6a43f3257d743ec17bed8531c28ffa.png)  
 ![error1](https://us1.discourse-cdn.com/flex015/uploads/fireblocks/original/1X/23f7a0c2e905ea2879b19a4759d8d2621b42b085.png)

Error occur → while  
failed to get recent blockhash: Error: 401 Unauthorized: { “message”: “Unauthorized: JWT is missing”, “code”: -3}  
calling function

```
      const { blockhash } = await this.getLatestBlockhash(); 

```

 ![imports](https://us1.discourse-cdn.com/flex015/uploads/fireblocks/original/1X/b01a00b9399c4988a588cfb606dfc88cf81818d2.png)

Even after using IauthProvider in fireblock connection.

---

<div class="post-metadata">

### Author: ![SlavaSereb](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@SlavaSereb](https://community.fireblocks.com/u/SlavaSereb)
#### Post date: [June 10, 2024, 6:49am UTC](https://community.fireblocks.com/t/error-401-unauthorized-message-unauthorized-jwt-is-missing-code-3/1095/2 "2024-06-10T06:49:54Z")

</div>

Hey @sarthak.saxena,

Can you please share the code that initiates the `FireblocksConnetionAdapter`?

I can see the screenshots of the class itself, but I want to see how you initiate the class specifically please.
