Method failed: (/api/now/table/incident) with code: 401 - Invalid username/password combo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2025 05:09 AM
Here I am implementing OAuth 2.0 for instance-to-instance integration (like Instance A and Instance B).
if I create one incident in Instance A then same incident should be created in Instance B with this OAuth 2.0 integration, I can be able to generate refresh token and access token but when I create incident in Instance A it is showing the below error. screenshot shared for your reference.
Below is the script include code, i will call this script include from scheduled job periodically and i will generate refresh token and i call this script from business rule to generate access token(business rule is triggered when incident is created).
Business rule script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2025 05:21 AM
why to create duplicate questions?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader