Getting 401 error when ITIL User tries to ebond Incident

mr_zia
Tera Guru

Dear Team,

 

I am calling REST API using script include and when submitting Incident with admin role ebonding to partner Servicenow is working fine and returning 200 status code, but when ITIL user is submitting Incident ebonding is not happening and giving 401 error, when I am providing ITIL user with admin role it is working fine.

 

Could anyone please suggest what could be the issue and how to fix it please?

1 ACCEPTED SOLUTION

Hi,

I got this issue fixed, just in case anyone want to refer in future.

401 is a permission issue, ITIL User's were not able to see record entry on the oauth_credential table, so when they try to ebond tickets they never ebonded to the 3rd party.

 

To fix this create acl both on the table and field level with role itil, now test the ebond it should work!

 

Thank You!

 

View solution in original post

5 REPLIES 5

Hi,

Could you please share few details like what kind of ACL should be created and I guess we need to create ACL on the instance from which we are trying to send the data ?