ENG
  • RUS
  • ENG
  • DEU
  • TUR

“Auth Invalid” Error: What Does It Mean, and How to Fix It?

Last update: 30.05.2022


An "api auth invalid" error may appear on an account while the XChainer platform is working.

26f98286bc87c67a7c0e4db49dbd2f38.png



To find out why, log in to your Binance exchange account and do each of the following:

  • Check the API key settings;

  • Check IP's for whitelist;

  • Check that your identity has been verified.


1. It's possible that the Enable Spot & Margin Trading permission checkbox was left unchecked when editing the API key restrictions in the Binance account. If that's the case, an error will occur when rebalancing begins.

304d3df795ab8c6c59505ef13e2294c0.png



This option must be enabled.

4bb32e4a8dff6093eb0385dd3d749ca5.png


Click Save.

8305c3460e0b147b1be7d44990f1c686.png



Select the Pencil icon in the Portfolio Manager in the account with the error.

69f4546ca9bdc67b66ae35f17c48eee9.png


The Edit account window will open. Click Save. XChainer will try to activate the key again.


62a610af78ec1ab7c390507da5f558e6.png


XChainer will attempt to reactivate the key. If the error persists, double-check that the keys were copied correctly. It's possible that the API or Secret Key was copied incorrectly. If that's the case, you'll need to re-create the keys.


2. Select the Pencil icon in the Portfolio Manager in the account with the “api auth invalid” error.


ce016e6d0d4114a6291298ed6234700c.png

The Edit account window will open. Copy IP's for whitelist.

65ca787f988b2e908a8626ebb748c941.png




Go to the API Management page in Binance.

Select the key created for XChainer from the list and click Edit restrictions.


0c7c32fb694141bfd302ebb8d6b33f08.png


Delete all 30 IP addresses by clicking the X icon next to each address.

If you don't have the previously entered IP addresses, check the Restrict access to trusted IPs only (Recommended) box.


edb704ee7a0021bd9fbaf62842f5b5f5.png


If it's empty, copy the new address list from the XChainer account editor and paste it into the text box that appears, then click Confirm.


56cece1f5291b777233695c6e41382fe.png


To save your changes, click Save.


9c22197ba7c996fc425e40c312e52074.png


Return to the XChainer account editor and click Save.


39858fb9076efa5d4b4f54d8b2c268de.png


XChainer will attempt to reactivate the key. If the error persists, double-check that the keys were copied correctly. It's possible that the API or Secret Key was copied incorrectly. If that's the case, you'll need to re-create the keys.

6ad7be770eca0be265225a3ee79f86b5.png




Important! If the error appears after clicking Save in the XChainer account editor, it is most likely due to an incorrect setting in IP's for whitelist.


3. Most likely, your account doesn't have Verified status or was denied this status for some reason.

cf57469b76eced0787eb148d083bf766.png


Go through the identity verification process and re-generate API keys.




Was this article helpful?