The CreatorCon Call for Content is officially open! Get started here.

Table API 403 Forbidden Error

ardish1
Giga Contributor

Hi,

Integration between Servicenow X to Servicenow Y for sc_task table.

creation : https://xxxxxx.service-now.com/api/now/table/sc_task

Update : https://xxxxxxx.service-now.com/api/now/table/sc_task/'+op.jpText('u_reference') // u_reference holding sys id of Servicenow X task record.

when ticket is created from Servicenow X to ServiceNow Y --> Successful

now, the first update from Servicenow Y is not happening back to Servicenow X. Giving 403 Forbidden error. but Later updates on same task is happening.   Please help 🙂

 

2 REPLIES 2

Chuck Tomasi
Tera Patron

Access from X to Y doesn't necessarily guarantee access from Y to X. I suggest checking the account used for the API, the roles, etc. to ensure that you have the proper entitlements/access/ACLs, etc. for the account used for Y to gain access to X, to write to those records. A 403 error says "I got your authentication OK, but you don't have access to perform the action."


Agree 🙂 , but from the Second update everything is working absolutely fine. Worried.