Question about Wallet API Endpoints

I have created an API key under my Account and enabled spot,margin trading. Now I am trying to access the “sapi/v1/account/status” end point in my code and I am always getting invalid API Key as response like below “{ code: -2015, msg: ‘Invalid API-key, IP, or permissions for action.’ }”.

Could you please help me on this?

Hey,
I recommend checking out this post: why-do-i-see-this-error-invalid-api-key-ip-or-permissions-for-action