The CreatorCon Call for Content is officially open! Get started here.

Can anyone help with the error message "User Not Authenticated. Could not retrieve a new access token with the refresh token. invalid_grant, Invalid refresh token: "

PGhate
Tera Guru

Hello All,

When we check in manage tokens it can be  seen that the refresh token has not expired but while attempt a REST call we are getting following error:

User Not Authenticated. Could not retrieve a new access token with the refresh token. invalid_grant, Invalid refresh token: 

 

Can someone help with what could the issue be?

8 REPLIES 8

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

Can you explain how are you testing or checking this?

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hello Ankur,

 

Under manage tokens we checked for the expiry date of the refresh token. Few days ago we had  re-generated the token which worked and resolved the issue but now we are again facing this issue.

 

Thanks

Hi,

Are you using the correct credentials?

Did the credentials change in between those days. Please check with 3rd party team

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hello Ankur,

 

Just for confirmation if the credentials are changed we only need to re-generate the tokens or any other configurations need to be made?

 

Thanks