"access_denied","error":"server_error" error for the REST API integration between two instances
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2025 04:58 AM
I have setup a REST API integration between two ServiceNow demo instances using OAuth2.0 integration. Below is the screenshot of the application registry from the target instance.
Below mentioned is the screenshot of application registry from the source instance.
When I sent the request from Postman, the integration is working as expected. However, in the source instance when I click on the 'Get OAuth Token' related list in the REST Message, I am receiving the error as below.
Thanks in advance!
- Labels:
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2025 05:06 AM
Hi @Kannan Nair
can you share the rest message form photo i think there is no mistake in above pictures
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2025 10:21 PM
Hello @NagaChandaE
Thanks for your reply. I have tried different options and was able to fix the issue by changing the "Default Grant type" as "Resource Owner Password Credentials" on the Application Registry on the Source instance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2025 03:46 AM
Can you please share your full page of APplication registry in both source and target instance that is working? I am getting exact same error and also tried this but still stuck at same place.