Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Salesforce access token not regenerating with refresh token

DanielG
Tera Contributor

Hello,

 

My salesforce access token is not regenerating after expiration even though I have an active refresh token. I get the following error when I try to run one of my methods:

 

"User Not Authenticated. Could not retrieve a new access token with the refresh token. invalid_request, Missing parameters: access_token"

 

Here is proof that I have an active refresh token:

Screenshot 2023-03-13 at 4.47.54 PM.png

Screenshot 2023-03-13 at 4.25.09 PM.png

 

Here is a screenshot of the error after a test post:

 

Screenshot 2023-03-13 at 4.27.09 PM.png

 

How can I fix this issue?

2 REPLIES 2

leoferrero
Tera Contributor

HI did you find the solution?

Not applicable

Hi.  Did you find the solution?  I'm facing the same issue.