
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2022 10:59 PM
Hello, we are trying to create ServiceNow tickets through API calls. When trying to create the ticket we are getting the following error.
{
"error": {
"message": "User Not Authenticated",
"detail": "Required to provide Auth information"
},
"status": "failure"
}
Is it related to MFA configuration, If yes where to disable that MFA??
Solved! Go to Solution.
- Labels:
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2022 11:12 PM
Hi
If you have SSO enabled make sure that the account you are providing to authorize with is a local instance account and not one with which you normally use SSO to authenticate. API in ServiceNow does not work with SSO accounts only local accounts.
Then,
- Start off by confirming the username and password you have exactly matches the one on the user record.
- Check if the user is active and not locked out (Could be locked out if you attempted too many incorrectly)
-
Is allow access to this table via web services checked?
- Does the user have snc_platform_rest_api_access?
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2022 11:12 PM
Hi
If you have SSO enabled make sure that the account you are providing to authorize with is a local instance account and not one with which you normally use SSO to authenticate. API in ServiceNow does not work with SSO accounts only local accounts.
Then,
- Start off by confirming the username and password you have exactly matches the one on the user record.
- Check if the user is active and not locked out (Could be locked out if you attempted too many incorrectly)
-
Is allow access to this table via web services checked?
- Does the user have snc_platform_rest_api_access?
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2022 11:22 PM
Hi Sandeep,
I can confirm that SSO source field is empty, the user account is not locked, snc_platform_rest_api_access is allocated, But Password field is empty.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2022 11:25 PM
Check the credentials again.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2022 11:31 PM
Like do we need put some password instead of leaving it empty for Basic User auth API calls?