CXone Studio GetRESTProxy returning empty string despite 200 OK

The HTTP status code is 200, but the response body variable is coming back completely empty. I’ve been staring at this snippet action for two hours and it’s driving me mad.

Here’s the setup:

GetRESTProxy("https://internal-api.example.com/v1/status")
 .Method("GET")
 .Header("Authorization", "Bearer " + session.authToken)
 .Execute()

The debug log shows the request went out fine. The response headers are there. Status is definitely 200. But when I try to read the body:

result.body

It’s just an empty string. Not null, not undefined. Empty.

I’ve tried:

  1. Checking the endpoint directly in Postman. Works fine. Returns JSON.
  2. Adding .Content("application/json") to the request. No change.
  3. Logging result.statusCode (200) and result.headers (present). All good.
  4. Using result.json directly. Throws a parse error because it’s trying to parse an empty string.

Is there a known issue with GetRESTProxy swallowing the body for certain content types? Or am I missing a step in the execution chain?

The API returns a simple JSON object:

{
 "status": "healthy",
 "uptime": 12345
}

Nothing fancy. No large payloads. Just plain JSON.

Any ideas?