I can access the Client from binance.client, but can't make any orders or access to my account info

Any idea why I can’t access my account or place an order, I copied and paste different api keys and secret. I’m positive that’s not the problem. I have put my IP address to… Can’t seem to access it.

from binance.client import Client
client = Client(config.API_KEY, config.API_SECRET, testnet=True)

PRINT WORKS
prices = client.get_all_tickers()
print(“enter first”,prices)

DOESNT WORK
status = client.get_account_status()
print(“enter first”,status)

order = client.create_order(
symbol=‘BTCUSDT’,
side=‘BUY’,
type=‘MARKET’,
quantity=0.001,
)
print(order)

DOESNT WORK
status = client.get_account_status()
print(“enter first”,status)

/sapi/* endpoints are not support by the Spot Testnet.

order = client.create_test_order(
symbol=‘BTCUSDT’,
side=‘BUY’,
type=‘MARKET’,
quantity=0.001,
)
print(order)

Can you confirm you are using the Testnet API credentials and not the production API credentials?

I tested with create_order(), create_futures_order() without Testnet API.

If you are certain you are providing the correct environment API credentials, please contact the owner of the library as this issue is not related to the Binance API.

My clock was not sync with the binance time so I synced it and it works fine!

@crypto123 how did you perform the sync pls ?