Auth0 Home Blog Docs

What error do we get when token is expired..?

error

#1

I mean in which number will error showed… ex we have 500 for internal, 404 for not found…


#2

Hi @agonhaxhani83,

For an expired token, you get response as below,

{
    "statusCode": 401,
    "error": "Unauthorized",
    "message": "Expired token received for JSON Web Token validation",
    "attributes": {
        "error": "Expired token received for JSON Web Token validation"
    }
}

You can get more information on response codes and errors here

Further please add more details on your problem, to get better help!