Refresh Token - 401 - Error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
â07-15-2024 12:25 AM
Hi everyone, I'm trying to use the refresh token and I get a 401 error. { ' access_denied' }
I'm sending a POST request with
"Content-type": "application/x-www-form-urlencoded"
and
{ grant_type: 'refresh_token' , client_id, client_secret, refresh_token }
The error is not so informative and I don't know what I'm doing wrong
please help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
â07-21-2024 01:53 PM
Hi, unfortunately the information available in this thread does not allow for proper diagnosis.
If you do not have access to the credentials table in your instance then I think the most appropriate next step is to escalate to your internal ServiceNow Admin team, so that they can investigate\diagnose the issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
â07-15-2024 11:13 PM
Thanks for the response, yes I'm doing a post request to /oauth_token.do and I feel that every third request is failing. I feel that the refresh token is expired but I set it to be non-expired when configured app settings.
what can be the reason of access_denied? I don't need any Authorization header?