Issue while consuming table level API via third party application (Table is cmdb_ci_server)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hello Expert,
I need your guidance about an issue i am facing. We are working on an integration that consume table level API ( cmdb_ci_server) . Intention is to read CI information via this API. we have created a record in sys_user table and using that user details as a credentials while trying to access CI details. But we are getting below error :
Error 401: {"error":{"message":"User Not Authenticated","detail":"Required to provide Auth information"},"status":"failure"}
Could you please help me to understand what am i missing here ?
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Error 401 means incorrect username and password
Also note that API user should have read access to that table.
Please verify the Table level ACLs for READ operation.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Check if integration user has read access to the table cmdb_ci_server and make sure credentials are correct.
Test it from Postman tool and make sure access is working as expected. Check user role and ACLs associated with it and once it meets the user criteria to read the table data, it should work fine.
Below is a sample GET request from Postman
If this helped to answer your query, please mark it helpful & accept the solution.
Thanks,
Bhuvan