Received 401 - Unauthorized even with Refresh Token Available
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi,
I have an integration setup where I am sending a JSON payload to another ServiceNow instance. I am using Flow Designer in which I am using a Custom Action in which I am using REST Step and within that I am passing the connection record, within the OAuth credential record I can see the token expiry is in august 2026 but today the integration failed with 401 error code,
Can anyone help me out on the reason why this happened?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday - last edited 11 hours ago
Hi @Charles Fredie ,
401 is authentication error. Before asking 3rd party team (where integration request is going) to provide
correct Client id /Secret Or credential , just try this once , if you have not done.
- Token URL: End point provided by 3rd party
- Client ID/Secret: Use Client ID/Secret provided by 3rd party
- Grant Type: Select Client Credentials for server-to-server communication.
Share the screen shot as well.
