Getting a 401 from the API

HFawzy
Tera Contributor

I'm getting a 401 from the API when asking for table/cmdb_rel_type.. or cmdb_type_rel but can query table/cmdb_rel_ci..or cmdb_ci_rel

 

What am I doing wrong?

2 REPLIES 2

J Siva
Tera Sage

Hi @HFawzy 

Could you share the request payload and API details? A 401 error is related to authentication issues. However, you mentioned that it works when you query the cmdb_rel_ci table. That's strange.

Regards,
Siva

Ankur Bawiskar
Tera Patron
Tera Patron

@HFawzy 

if it's 401 then it should always give error irrespective of the table you are using

share some screenshots what API it is and how is the payload etc?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader