Studio REST Proxy returns 200 but JSON path assignment fails with null

We’ve got a weird issue where the REST Proxy action in Studio completes successfully with HTTP 200, but the subsequent ASSIGN action to parse the JSON response fails silently. The API call is hitting our internal endpoint to fetch agent status. The response body is definitely JSON and looks correct in the debug logs. However, when I try to assign the value using the JSON path syntax, the variable ends up null. It’s like the parser isn’t seeing the root object correctly.

Here is the snippet code we are using. The REST action sets the variable ‘respBody’. The next line tries to pull the ‘status’ field.

REST_PROXY(‘https://internal-api/status’, ‘GET’, ‘’, ‘’, ‘respBody’, ‘true’)
ASSIGN(‘agentStatus’, JSONPATH(‘respBody’, ‘$.status’))

The debug log shows ‘respBody’ contains: {“status”:“available”, “id”:“123”}. But ‘agentStatus’ is empty. We are on the latest Studio version. Is there a specific way to handle the JSON structure for the REST Proxy return value? Maybe the root needs to be an array? The documentation is vague on this part.