IP not permisstion. why can i create and submit order through api but can't get status of order through above api? #14

Link issue: IP not permisstion. why can i create and submit order through api but can’t get status of order through above api? #14

code get status

        String infoStateOrder = umFuturesClient.account().queryOrder(parametersGetOrder);

I have granted enough ip

I have set up another api key that is exactly the same as the old one, can I still call it normally? I don’t understand why my old key can’t be called from the local machine. but on the server, it still calls normally?
What is the source of the problem here?

I tested with another account 2, with the current ip address I can still call results from binance, but with account 1 it keeps giving an error - {“code”:-2015,“msg”:“Invalid API -key, IP, or permissions for action, request ip: 116.107.219.214”}

Which endpoint returned this error? have you tried to recreate a new api key and see if it works?

1 Like

when i generate new key everything works properly. I just want to clarify why this key and ip is not working? while creating a new key can fix it. Could it be related to yesterday’s binance ft anomaly
Thanks

You mentioned that when you generated a new API key, it worked fine. Did you use the exact same settings when creating this new key as the old one and whitelisted your ip 116.107.219.214? If so, just delete the old key and use the new one to be safe.