Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

With Developer instances we are unable to create SNOW Incidents using Table APIs, it returns 401

User739474
Mega Contributor

Created a fresh developer instance and tried creating INC using Table APIs, it's returning 401 Unauthorized error. This was working till last month(~).

From SNOW portal - REST API Explorer page it works using X-UserToken header, but from Postman it doesn't work neither with X-UserToken nor with Basic base64{user:pass}.

We have this working at least from last 8 years, but now it suddenly stopped and returning this error. Any recent changes done in Authorizations to this API?

REQUEST and RESPONSE details:

 

POST

https://dev435431.service-now.com/api/now/table/incident


Headers:
Content-Type:application/json
Accept:application/json
Authorization:Basic Base64Encoded{user:pas}

RequestBody:

{
"short_description": "title",
"description": "description body",
"impact": "3",
"urgency": "3"
}

 


Response: 401 Unauthorized
{
"error": {
"message": "User is not authenticated",
"detail": "Required to provide Auth information"
},
"status": "failure"
}

0 REPLIES 0