API key configuration: 'Unauthorized: Token was not accepted.'

Hi team,

We are trying to configure the API Key that is generated from an API user for a sandbox workspace however we are getting an error.

API request with the API key + private key combination for the API user on the workspace, we are getting ‘Unauthorized: Token was not accepted.’

Can you please advise if the setup may be different for sandbox, or perhaps the API user needs to be setup with specific configurations?

Hey,
check that you set the intended environment at the client you are using.

  1. baseUrl: This should be set to either of the following, depending on the environment you are using: https://api.fireblocks.io/v1 for mainnet and testnet or https://sandbox-api.fireblocks.io/v1 for developer sandbox environments.

@alinder Thank you very much, that was it!