This is an authorisation error.

Please make sure that you are doing the following:


1. Using the correct API key & secret.

2. Using the correct connecting links (i.e. make sure you are connecting to bitmex.com and not testnet.bitmex.com)

3. The data you are sending matches the data you are signing.


Please also see our documentation here:

https://www.bitmex.com/app/apiKeysUsage