Skip to main content
All CollectionsTrading Errors & Troubleshooting
Why do I see error '1003: Action is forbidden for this API Key' on HitBTC?
Why do I see error '1003: Action is forbidden for this API Key' on HitBTC?

HitBTC API error 1003: Permission denied for your API key. Fix by creating a new key with proper permissions. Learn more here.

Pete Darby avatar
Written by Pete Darby
Updated over a week ago

This error message '1003: Action is forbidden for this API Key' indicates that the API key you are using with your HitBTC trading bot does not have the necessary permissions to perform the requested action. This could be due to a number of reasons, such as:

  • The API key does not have the "Order book, History, Trading balance" permissions enabled.

  • The API key has been revoked.

Solution: To resolve this error, you will need to create a new API key and ensure that it has the correct permissions. You can follow the instructions in our article on API Keys for HitBTC to create a new API key.

Example of error message in the trading bot output:

06/04/2024 9:46:36 AM ERROR POST https://api.hitbtc.com/api/2/order 403 {"error":{"code":1003,"message":"Action is forbidden for this API key"}}

Did this answer your question?