User Not Authenticated. Could not retrieve a new access token with the refresh token. invalid_reques
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
Hi ,
I have configured my rest message with Type = OAuth Provider (Oauth2.0) and Grant Type = Authorization Code.and trying to test the API but getting the error as "User Not Authenticated. Could not retrieve a new access token with the refresh token. invalid_request, Missing parameters: access_token" .
I have refresh token and it is not expired, (OAuth Refresh token is available and will expire at 2026-07-07 05:56:13.)
HTTP error code is 0.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
It seems ServiceNow OAuth flow has broken during the token exchange step. While authentication may have succeeded, the system failed to receive a valid access token in the expected format.
- Ensure the access token is sent correctly in API calls
- When calling the ServiceNow API (or any protected API) from the bot/Teams app, the access token must be included in the Authorization header:
- Authorization: Bearer <access_token>
- If the endpoint expects the token as a parameter and not a header, ensure the parameter name and placement match the ServiceNow OAuth/API specification.
- The error message explicitly says Missing parameters: access_token, which means the endpoint did not receive the token in the expected place.
- When calling the ServiceNow API (or any protected API) from the bot/Teams app, the access token must be included in the Authorization header:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
hi @naveenreddy0871
Please check your record on Application Registry , look for the default grant type or send credentials dropdown.If it is set to as Basic Authorization Header, change it to in body (or vice versa)
Happy to help!
To help others in the community find this solution, kindly mark this response as the Correct Answer and Helpful.
Warm Regards,
Deepak Sharma
Community Rising Star 2025
