python-binance icon indicating copy to clipboard operation
python-binance copied to clipboard

APIError(code=-1100): on call to get_deposit_history()

Open bltierney opened this issue 4 years ago • 4 comments

I get this error: "binance.exceptions.BinanceAPIException: APIError(code=-1100): Illegal characters found in a parameter."

with this call: deposits = api.get_deposit_history()

These calls all work fine for me, so I know my keys are correct, etc. api = binance.Client(binance_key, binance_secret, tld=binance_tld) account = api.get_account() my_trades = api.get_my_trades(symbol='ADAUSD',limit=1000)

bltierney avatar Sep 21 '21 14:09 bltierney

I am also receiving this error.

APIError(code=-1100): Illegal characters found in a parameter.

For me, it fails on the call: client.get_margin_account()['userAssets']

I'm also using tld='us' in the constructor.

scatmanFATMAN avatar Oct 29 '21 01:10 scatmanFATMAN

@bltierney Did you ever figure this out?

scatmanFATMAN avatar Oct 29 '21 16:10 scatmanFATMAN

Nope, still have the same issue.

bltierney avatar Oct 29 '21 17:10 bltierney

I encountered the same issue. After some digging around, I discovered the Illegal characters were coming downstream from my desktop using IPv6 address. Once I disabled IPv6, forcing it to only use IPv4 I got the API call to work without error.

saburas77 avatar Mar 25 '22 21:03 saburas77