REST API returning 204 for certain computers in JSON format

Chaloupka
New Contributor

I am having trouble accessing computer information using the following REST end-point:
GET /computers/id/{id}

The id I enter into the request URL is valid (returned by GET /computers). When I demand the response to be in JSON format (the HTTP requests contains header "Accept: application/json"), I get HTTP response 204 (Empty Response). When there is no HTTP header, the information is returned in XML format with HTTP response code 200 and the returned data seems fine. The problem happens only for few computers (24 out of 1351).

Is there a way around this, other than using XML instead of JSON?

0 REPLIES 0