# "message": "Unauthorized: Token was not accepted.",

**URL:** <https://community.fireblocks.com/t/message-unauthorized-token-was-not-accepted/67>\
**Category:** Support\
**Tags:** getting-started\
**Created:** [February 5, 2023, 7:06am UTC](https://community.fireblocks.com/t/message-unauthorized-token-was-not-accepted/67 "2023-02-05T07:06:28Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![shmulik](https://avatars.discourse-cdn.com/v4/letter/s/ac8455/32.png) [@shmulik](https://community.fireblocks.com/u/shmulik)\
**Post date:** [February 5, 2023, 7:06am UTC](https://community.fireblocks.com/t/message-unauthorized-token-was-not-accepted/67/1 "2023-02-05T07:06:28Z")

</div>

I followed the ‘Postman guide’ and getting 401-Unautthorized  
“message”: “Unauthorized: Token was not accepted.”

---

<div class="post-metadata">

**Author:** ![shmulik](https://avatars.discourse-cdn.com/v4/letter/s/ac8455/32.png) [@shmulik](https://community.fireblocks.com/u/shmulik)\
**Post date:** [February 5, 2023, 10:03am UTC](https://community.fireblocks.com/t/message-unauthorized-token-was-not-accepted/67/2 "2023-02-05T10:03:07Z")

</div>

Change the ‘{{baseUrl}}’ to _`sandbox.fireblocks.io/v2`_ in postman

---

<div class="post-metadata">

**Author:** ![yoji](https://avatars.discourse-cdn.com/v4/letter/y/977dab/32.png) [@yoji](https://community.fireblocks.com/u/yoji)\
**Post date:** [February 6, 2023, 3:22pm UTC](https://community.fireblocks.com/t/message-unauthorized-token-was-not-accepted/67/3 "2023-02-06T15:22:14Z")

</div>

You can also edit the Postman environment “Boilerplate Fireblocks Environment” to define the baseUrl as the same for a more dynamic solution.

Variable: `baseUrl`  
Type: `default`  
Initial Value: `sandbox.fireblocks.io/v2`

---

<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:** [February 15, 2023, 12:38pm UTC](https://community.fireblocks.com/t/message-unauthorized-token-was-not-accepted/67/4 "2023-02-15T12:38:30Z")

</div>

A small correction here:  
the correct base URL is - `sandbox-api.fireblocks.io`

---

<div class="post-metadata">

**Author:** ![seshalkimi](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@seshalkimi](https://community.fireblocks.com/u/seshalkimi)\
**Post date:** [June 11, 2023, 12:20pm UTC](https://community.fireblocks.com/t/message-unauthorized-token-was-not-accepted/67/5 "2023-06-11T12:20:13Z")

</div>

Hi SlavasSereb,  
With reference to my other post as you suggested I have changed base url to : [sandbox-api.fireblocks.io](http://sandbox-api.fireblocks.io) and this gives Unauthoriszed : JWT token is missing. I tried same with v1 and v2 and see same error.

Where as “[Fireblocks Console](http://sandbox.fireblocks.io/v2)” returns 200 (Success) but with a empty object.

---

<div class="post-metadata">

**Author:** ![alinder](https://avatars.discourse-cdn.com/v4/letter/a/c68b51/32.png) [@alinder](https://community.fireblocks.com/u/alinder)\
**Post date:** [June 15, 2023, 7:42am UTC](https://community.fireblocks.com/t/message-unauthorized-token-was-not-accepted/67/6 "2023-06-15T07:42:46Z")

</div>

check that the API KEY under the authorization header has the client key value set

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

---

<div class="post-metadata">

**Author:** ![danielk](https://avatars.discourse-cdn.com/v4/letter/d/a88e57/32.png) [@danielk](https://community.fireblocks.com/u/danielk)\
**Post date:** [June 15, 2023, 8:01am UTC](https://community.fireblocks.com/t/message-unauthorized-token-was-not-accepted/67/7 "2023-06-15T08:01:47Z")

</div>

HI @seshalkimi, please check the instructions as posted in the [other thread](https://community.fireblocks.com/t/testing-sandbox-with-postman-collection-no-results/147/8).
