sammchardy / python-binance

Binance Exchange API python implementation for automated trading
https://python-binance.readthedocs.io/en/latest/
MIT License
5.91k stars 2.19k forks source link

Verification error #1113

Open cat-frisky opened 2 years ago

cat-frisky commented 2 years ago

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

benyaminpy commented 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.

Screen Shot

try to put the part of your code that sends the request, maybe it's stuck in a loop and keeps sending requests.

ZeroTolerance78 commented 2 years ago

Same problem, I did all permissions in API section, but response is APIError(code=100001003): Verification failed And its not related with requests.

CherryDT commented 2 years ago

It means your account was locked for withdrawals and you need to contact them and complete KYC.