BitMart 'X-BM-SIGN' Error 30005
See original GitHub issueDear Kroitor,
Please could you advise on this error?
I get request authentication signing errors for BitMart with two sets recently created API keys only, on two new accounts. The same application (same code) has been running successfully on BitMart with over 10 other sets of API keys for many months.
Account balances are fetched successfully, which suggests that the keys are valid, but trade operations such as cancellation throw a SIGN error (30005), below.
There are some ideas proposed on the BitMart API repo.
Environment
- OS: Both Mac OS 10.15.4 & Windows Server 2019 Datacentre
- Programming Language version: Python 3.9
- CCXT version: 1.76.65 (latest)
Set-up
self.ccxt = self.exchange_class({
'apiKey': config['apiKey'],
'secret': config['secret'],
'uid': config['uid'],
'options': {
'defaultType': os.getenv('INSTRUMENT'),
},
'enableRateLimit': True,
})
self.ccxt.load_markets()
Example Code
try:
result = self.ccxt.cancel_order(order.exchange_id, order.symbol)
except Exception as e:
logger.warning(f'id {order.exchange_id} cancellation FAILED... ({e})')
assess_connection(exchange, e)
Output Error
id 2482643 cancellation FAILED... (bitmart {"message":"Header X-BM-SIGN is wrong","code":30005,"trace":"ac973398-xxxx-yyyy-ab1b-578da2e583c6","data":{}})
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Error 30005: Create File Failed With 32 'couldn't start the game'
'Error 3005: Create File Failed with 32' error is displayed when a user tries to launch a game that is protected by Easy...
Read more >[PC] How to Resolve Easy Anti-Cheat Errors - Fatshark Support
Error Code: 30005 (CreateService Failed with 1072.) · Press the Windows key · Type 'msconfig' and select 'System Configuration' · On the 'General' ......
Read more >Error code 30005 (createfile failed with 32) : r/BTW - Reddit
Can't start the game, keep getting this message. Turned my antivirus off, reinstalled the game, ran Easyanticheat as administrator, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I made them show me a screenshot of the key and turns out they were not supplying the correct data for uid (BitMart memo). This has been a waste of our time and yours, I apologise, we had given clear instructions regarding the API key. Assume it is the same for the second key. Thanks for your time. PS do you have a sales guy we can speak to about CCXT Pro, interested to explore if/how it could be useful.
@SpenTappy thx for reporting back!
I’d recommend starting from here:
If you have any remaining questions after that, please, welcome to our discord chat: https://discord.gg/ccxt