Open cat-frisky opened 2 years ago
The closest error code to the one you getting is -1003 which, as Binance's api docs describes it, it's about sending too much requests.
try to put the part of your code that sends the request, maybe it's stuck in a loop and keeps sending requests.
Same problem, I did all permissions in API section, but response is APIError(code=100001003): Verification failed And its not related with requests.
It means your account was locked for withdrawals and you need to contact them and complete KYC.
Describe the bug I working with binance, and function such order_market_buy and get_balace working properly, but when i try to use withdraw i getting 'Verification filed'
To Reproduce Code snippet to reproduce the behavior: client = Client(BINANCE_API_KEY, BINANCE_SECRET_KEY) result = client.withdraw(asset=symbol, address=wallet, amount=withdraw_sum)
Expected behavior A clear and concise description of what you expected to happen.
Environment (please complete the following information):
Logs or Additional context Add any other context about the problem here. return self._request_margin_api('post', 'capital/withdraw/apply', True, data=params) File "/home/ubuntu/.local/share/virtualenvs/CryptozZz-btj7gvsV/lib/python3.8/site-packages/binance/client.py", line 364, in _request_margin_api return self._request(method, uri, signed, **kwargs) File "/home/ubuntu/.local/share/virtualenvs/CryptozZz-btj7gvsV/lib/python3.8/site-packages/binance/client.py", line 315, in _request return self._handle_response(self.response) File "/home/ubuntu/.local/share/virtualenvs/CryptozZz-btj7gvsV/lib/python3.8/site-packages/binance/client.py", line 324, in _handle_response raise BinanceAPIException(response, response.status_code, response.text) binance.exceptions.BinanceAPIException: APIError(code=100001003): Verification failed