binance-us / binance-us-api-docs

Official Documentation for the Binance US APIs and Streams
407 stars 170 forks source link

{'msg': "Illegal characters found in parameter 'ip'; legal range is '^[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}$'.", 'success': False} #57

Closed mahdiinaya closed 2 years ago

mahdiinaya commented 2 years ago

Using binance-python to try to access my deposit history.

I keep getting the same error: {'msg': "Illegal characters found in parameter 'ip'; legal range is '^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$'.", 'success': False}

Please help!

mahdiinaya commented 2 years ago

You have to make sure you force requests to use IPV4.. Update your network configuration to not use IPV6.. That is the solution.