Authentication Token related queries

Hello Team,

I have multiple questions regarding Authentication Token part. Please find them below:
1. How we validate that the current/previously requested token is yet valid or not

2. What is the limit of authentication token per day and per minute.

3. Could you please give example of how we can limit authentication token request to not exceed.

Thank you,

Trisha Gehlot

Best Answer

  • Gurpreet
    Gurpreet admin
    Answer ✓

    Hi @trisha.gehlot,

    Once an expired token is used in an API call, the response status code will be HTTP 401 Unauthorized, with the following response message:

    {
    'error': {
    'message': 'Authentication request failed because of invalid token'
    }
    }

Answers