Some PDIs are currently unavailable, and PDI actions are paused. View the latest updates here. Read More

OAuth Access token is available but will expire soon.

chrisjhun_M
Tera Contributor

We recently cloned our PROD to DEV and UAT. Then this error message is showing.
Error Message: 
OAuth Access token is available but will expire soon at 28-07-2026 13:31:29. Verify the OAuth configuration and click the 'Get OAuth Token' link below to request a new token. 

chrisjhun_M_1-1785234995786.png

 

 

When we clicked the Get OAuth Token, it showed completed successfully.

chrisjhun_M_2-1785235291233.png

However, when I checked the record, it was still displaying the error message even after I refreshed the page.



Does anyone experience this before?

3 REPLIES 3

Deepak Shaerma
Mega Sage

Hi @chrisjhun_M 

During a clone, the Application Registry (sys_oauth_client_app) record and its redirect URLs are copied from PROD. To fix this in Application Registry check the Client Secret and Redirect URL and re-enter the valid ones for Dev and UAT.

Happy to help! If this resolved your issue, kindly mark it as the correct answer   and Helpful and close the thread 🔒 so others can benefit too.

Warm Regards,

Deepak Sharma

Community Rising Star 2025

 

Hi @Deepak Shaerma, I already did that before posting the issue. Is there any other way around it?

Tanushree Maiti
Tera Patron

Hi @chrisjhun_M 

 

Check what Redirect URL has been set in Oauth profile.

Also confirm what Grant_type  has been selected.

 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti