unable to post on api explorer : Security constraints prevent ordering of Item

chercm
Mega Sage

i am using admin account and i have even tried using another account using impersonate function and same error . even postman i am getting the same error 

 

{
  "error": {
    "message": "Security constraints prevent ordering of Item",
    "detail": ""
  },
  "status": "failure"
}



{
"sysparm_quantity":"1",
"variables":{
"requested_for":"David Cher",
"type_of_room_sweep":"full",
"time_of_room_sweep":"PM",
"building":"SingPost"
}
}

chercm_0-1700959485099.png

chercm_1-1700959498391.png

 

 




 

1 ACCEPTED SOLUTION

chercm
Mega Sage

@Abbas_5  Managed to find the information on the sys_id. need to use catalog item and open the chrome in developer model and look at the payload. thanks you 

View solution in original post

4 REPLIES 4

Abbas_5
Tera Sage
Tera Sage

Hello @chercm,
Please refer to the below link:
https://www.servicenow.com/community/developer-forum/security-constraints-prevent-ordering-of-item/t...

 

Mark my correct and helpful, if it is helpful and please hit the thumbs-up button to mark it as the correct solution.
Thanks & Regards,
Abbas Shaik

@Abbas_5  i tried those solution on that thread none of them worked . especially i am using the admin account 

 

chercm_0-1700973637597.png

 

@Abbas_5  i have tried on Vancouver instance. i am getting the same error . not sure where is the issue 

chercm
Mega Sage

@Abbas_5  Managed to find the information on the sys_id. need to use catalog item and open the chrome in developer model and look at the payload. thanks you