Required to provide Auth information error in REST integration

Masato Oyama
Kilo Contributor

Hi All,

I am trying to do inbound integration to create incident in SN.
I have given the SN end point to external tool and also i have given username and password.

But when the external tool is trying to access to SN, they are getting error message as below.

 {"error":{"detail":"Required to provide Auth information","message":"User Not Authenticated"},"status":"failure"}

 

What shouold we do to access the SN?

 

*SN are enabled "Multiple SSO plugin".

8 REPLIES 8

MrMuhammad
Giga Sage
Hi Masato, I would revalidate the credentials and also I will check if below roles are given to Api Service account or not and web service access field should be true. Itil Rest service Web service admin Import admin Please mark this accepted/helpful if it helps. Thanks & Regards, Sharjeel
Regards,
Muhammad

Hi Muhammad,


Thank you for reply.
I confirmed the role, but I think the role is not cause.

*I did the integration test using same ID setting at 2 environments.
(A is enabled SSO, B is not enabled SSO.)

A: Integration test is fail.
B: Integration test is succes.

If you have additional knowledge, plz share with us.

Regards,

DScroggins
Kilo Sage
Hello since 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. Hope this helps. --David

Hi David,

 

Thank you for quick reply.

I use the local user, but authentication is fail.

 

If you know other confirm point, could you share with us.

 

Regards,