Hey @Abhishek thanks for sharing this.
Can you also write the command that you run for the script execution?
Basically, your configuration file seems to be ok.
This error indicates that something is wrong with the authentication JWT signature which can be potentially one of the following issues:
-
You are using a wrong API key - please verify this by copying the value of the API Key from the Fireblocks console.
-
You are using a wrong secret key - please make sure that you use the correct private key that was used to create the API user (either your own key or the automatically generated one by Fireblocks). I can also suggest creating a new API user with a new secret key and verifying that this is the pair that is being used.
-
The values are not being read as expected from the .env file. I would suggest making sure that you have configured the .env file as expected and there are no typos in the param names or the values. You can print the values in the configuration file and double check the output you can get post reading the .env values.