# Unauthorized: Token signed for incorrect url

**URL:** <https://community.fireblocks.com/t/unauthorized-token-signed-for-incorrect-url/564>\
**Category:** Support\
**Tags:** help-center, getting-started\
**Created:** [December 21, 2023, 3:50pm UTC](https://community.fireblocks.com/t/unauthorized-token-signed-for-incorrect-url/564 "2023-12-21T15:50:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Analgin](https://avatars.discourse-cdn.com/v4/letter/a/90db22/32.png) [@Analgin](https://community.fireblocks.com/u/Analgin)\
**Post date:** [December 21, 2023, 3:50pm UTC](https://community.fireblocks.com/t/unauthorized-token-signed-for-incorrect-url/564/1 "2023-12-21T15:50:30Z")

</div>

Hello,

I am using the typescript API SDK in sandbox for NCW. I am trying to create a non-custodial wallet using ‘NCW.createWallet()’. I initiate the SDK using the secret and api key of an NCW admin role, and this url - ‘[https://sandbox-api.fireblocks.io/v1](https://sandbox-api.fireblocks.io/v1)’  
The error - ‘Unauthorized: Token signed for incorrect url.’  
The NCW admin was created using the web sandbox console. Example of how I use the SDK.

this.fireblocks = new FireblocksSDK(secretKey, apiKey, this.fireblocksSandboxUrl).NCW;  
this.fireblocks.createWallet();
