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

Cornelia
Kilo Contributor

I set up OAuth to Salesforce as Type = OAuth Provider and Grant Type = Authorization Code.

Using Rest Messages works great, when I get an OAuth token manually. However, when I try to create a new record on the client side from a workflow script, I get this error:   User Not Authenticated. Could not retrieve a new access token with the refresh token. invalid_request, Missing parameters: access_token.

I've tried several suggestions to get the authorization and refresh tokens from the script but have had no luck so far.  Any suggestions would be great.

Thanks,

4 REPLIES 4

Ankur Bawiskar
Tera Patron

Cornelia
Kilo Contributor

Hi Ankur,  Unfortunately, neither of those helped me.  I think I need some help understanding how to write the javascript to access the authorization and refresh tokens.  Any other ideas or direction is appreciated.

Thank you,

Connie

Hi Cornelia did you find a fix for this? I'm having same issue