Closed sssyrbu closed 3 months ago
same problem, I’m using Python 3.9.1
This happens when you specify an accountType
you don't have, so if you send UNIFIED
that means you're account is not unified. Bybit is going to improve the error handling for this case.
same problem here, even if I'm not using accountType
I get an error. Did you manage to get the balance?
I've got the same issue. Has anyone found a solution?
Please note that accounType
is a required parameter and you must pass the correct value to it. Otherwise, you will face this error. Please provide the request you sent if you still face this error.
https://bybit-exchange.github.io/docs/v5/account/wallet-balance
I solved it! If you set up 'testnet=True', you have to use "Testnet" API Key and API Secret. https://testnet.bybit.com/en/ -> you should get api key and secret on this website
I have an issue with Python's Pybit module. I'm trying to get my wallet balance but I get the following error:
pybit.exceptions.FailedRequestError: Http status code is not 200. (ErrCode: 404) (ErrTime: 07:32:08)
My code:
What should I do? I’m using Python 3.11