REST Method failed: (/api/now/table/incident) with code: 403 - Forbidden username/password combo

xiaix
Tera Guru

Here are my steps:

First, create REST:

Screen Shot 11-12-15 at 10.05 AM.JPG

11-12-2015 10-06-11 AM.png

Here are the "get" function details:

11-12-2015 10-09-49 AM.png

Here's what happens when I click the "Test" link:

11-12-2015 10-10-36 AM.png

Here are the user roles:

Screen Shot 11-12-15 at 10.11 AM.JPG

I also get the same 403 message when I change the username/password to mine, which I have the admin role.  

What am I doing wrong?

1 ACCEPTED SOLUTION

xiaix
Tera Guru

So... the issue was I needed to assign the "itil" role to the user....


View solution in original post

5 REPLIES 5

sergiu_panaite
ServiceNow Employee
ServiceNow Employee

Hi David,



HTTP 403 means that the requested operation is not permitted for that user. It can be caused by ACLs, BRs, etc. See here for more information:



REST API - ServiceNow Wiki



Have you tried maybe using a specific version, like:



REST API - ServiceNow Wiki



Regards,


Sergiu


Hmm... I can't seem to find the "Allow access to this table via web services" checkbox on the incident table.


Ah, perhaps I should have mentioned I'm not on Fuji, I'm on Eureka


xiaix
Tera Guru

So... the issue was I needed to assign the "itil" role to the user....