title: Binance future API Invalid API-key, IP, or permissions for action
body: <p>I want to use <a href="https://github.com/Binance-docs/Binance_Futures_python" rel="nofollow noreferrer">Binance_Futures_python API</a> to get the balance of my account.</p>
  <p>Here's my code:</p>
  <pre><code>import binance_f
  
  fclient = binance_f.RequestClient(api_key='&lt;my_api_key&gt;', secret_key='&lt;my_secret_key&gt;', url='https://fapi.binance.com')
  result = fclient.get_balance()
  </code></pre>
  <p>And the error message of the above code is</p>
  <pre><code>Traceback (most recent call last):
    File &quot;/Users/brian.lee/my_gitlab/binance_api_test/test_error.py&quot;, line 4, in &lt;module&gt;
      result = fclient.get_balance()
    File &quot;/usr/local/lib/python3.9/site-packages/binance_futures-1.1.0-py3.9.egg/binance_f/requestclient.py&quot;, line 328, in get_balance
    File &quot;/usr/local/lib/python3.9/site-packages/binance_futures-1.1.0-py3.9.egg/binance_f/impl/restapiinvoker.py&quot;, line 37, in call_sync
    File &quot;/usr/local/lib/python3.9/site-packages/binance_futures-1.1.0-py3.9.egg/binance_f/impl/restapiinvoker.py&quot;, line 21, in check_response
  binance_f.exception.binanceapiexception.BinanceApiException: ('ExecuteError', '[Executing] -2015: Invalid API-key, IP, or permissions for action, request ip: 111.93.84.192')
  </code></pre>
  <p>Here's the API management page of my Binance account.</p>
  <p><a href="https://i.stack.imgur.com/OTyUt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OTyUt.png" alt="enter image description here" /></a></p>
  <p>I really don't understand why my code fails.</p>
  <p>I've opened as many permissions as possible for the API key.</p>
  <p>I use a non-US version of Binance (<a href="https://www.binance.com/" rel="nofollow noreferrer">https://www.binance.com/</a>).</p>
  <p>I've read <a href="https://stackoverflow.com/questions/64870237/binance-future-api-apierrorcode-2015-invalid-api-key-ip-or-permissions-f">this post</a>, but the answers in that post don't work.</p>
  <p>Does anyone know the reason of the error?</p>