REST API Issue for service-now catalog

adityamadhira
Kilo Contributor

Hi I am planning to use REST API for service   catalog in C# and facing below issue while testing. Please help me to fix this issue -

To test I navigated to "REST API Explorer"   in service now. While testing Add Item To Cart   (POST) call fails. Please refer attached screen short.

Error -

{
  "error": {
  "detail": "",
  "message": "Invalid Quantity value"
  },
  "status": "failure"
}

Please help me what the issue is?

21 REPLIES 21

Also please ensure you have access to the catalog item


catalogitem.PNG



Provided below item sysid.



Capture.PNG


Are you aware of any security constraints on the item? Have you tried sending the request as a different user?


I trying with user that admin,catalog & catalog_admin & security_admin roles. Do I miss any info


Hi Aditya,



Did you get it worked or you weren't able to?



Thanks,


Jaspal Singh