Dear now developers, I'm facing "User authentication error" for the Integration User ID "IOSBUILDTEAM" while creating SNOW tickets via API Calls.

Koushik Ningara
Tera Contributor

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??

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Hi @Koushik Ningaraju ,

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,

  1. Start off by confirming the username and password you have exactly matches the one on the user record.
  2. Check if the user is active and not locked out (Could be locked out if you attempted too many incorrectly)
  3. Is allow access to this table via web services checked?

  4. Does the user have snc_platform_rest_api_access?

 

Mark my answer correct & Helpful, if Applicable.

Thanks,

Sandeep

View solution in original post

8 REPLIES 8

Community Alums
Not applicable

it depends on what authentication you are using, select the "profile" properly , like below:

find_real_file.png

Yes it is Basic, But in User record password is empty.

find_real_file.png

Community Alums
Not applicable

Then the password for the user.

I updated the password but still getting the same error