APIError(code=-2015): Invalid API-key, IP, or permissions for action for portfolio margin enable account

Hi,
I am getting APIError(code=-2015): Invalid API-key, IP, or permissions for action when trying to connect to an account with portfolio margin enabled. For all other form of accounts I am able to successfully connect but just not for this. Is it that portfolio margin account require a different way to connect? Would be great if you could help. Thanks

Hey,
This website may help you: Binance Portfolio Margin API | Binance Support

2 Likes

Use this website to find your real IP https://ipecho.net & then add that to your trusted IPs

1 Like