Unauthorized: Token signed for incorrect url

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
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();