logo

NJP

ServiceNow Service Catalog Cart API error Exception While Reading Request

ServiceNow Blog · Jan 05, 2024 · article

 ServiceNow Service Catalog Cart API error Exception While Reading Request



if you get this http status 500 error when attempting the Service Catalog API POST operation (for example, order_now)

com.glide.rest.domain.ServiceException: Exception while reading request


Consider what roles your user might need to authenticate (e.g. rest) and also setting this property to 'allow': glide.sc.req_for.roles.default

Consider adding these to the HTTP Headers of the REST Message:

Acceptapplication/json
Content-Typeapplication/json


View original source

http://www.cloudminus89.com/2024/01/servicenow-service-catalog-cart-api_5.html