Unauthorised 401 error message while getting the Get Fund And Margin

Hi Team
Please find the screenshot , im getting unauthorized error message , i have hide the APIKEY and secreat code. can you please help me with this issue

It appears that your code is invalid as on every funds and margin api call you will be using the same code to generate a new access token.

Its advised to generate one access token in a day and use it for all api calls rather than generating new access token for every api call.

Please regenerate your code, as it is only valid for single use. Once an access token is created, it expires.

For more information please refer API Documentation | Authentication

I hope the above information was helpful, Thank you