API issue

API issue

Hello,

I'm trying to use API features, however each time I try to send request it says "Regenerate your authentication token using the authentication token regeneration API to use the subsequent PAM360 APIs.",
"statusCode": 40035

I even regenerated and copied the API with a valid authtoken, also confirmed that user is not deleted or disabled, and it has admin permission.

- Method: fetch accounts from specific resource ID.

- Doc: https://www.manageengine.com/privileged-access-management/help/restapi.html#getaccounts

- Screenshots:



Any advice?