Data Action success output returning undefined despite valid JSON response

Building a custom Data Action to fetch agent status via the /api/v2/analytics/queues/realtime/summary endpoint. The goal is to inject the wrapUpCode into the OTel span attributes for downstream tracing. The HTTP call succeeds with a 200 OK, and the raw response body looks correct. However, the mapped output variable comes back as undefined in the Architect canvas.

Here’s the mapping config in the Data Action:

{
 "success": {
 "status": "success",
 "output": {
 "wrapUp": "$.response.body[0].wrapUpCode"
 }
 }
}

The actual JSON response from Genesys is an array of objects. Snippet below:

{
 "body": [
 {
 "queueId": "123",
 "wrapUpCode": "transfer"
 }
 ]
}

I’ve verified the path $.response.body[0].wrapUpCode works in a standalone JSONPath tester. Tried changing it to $.response.body.wrapUpCode assuming it might flatten, but that returns null. The wrapUpCode field exists, the status is 200, but the output is always undefined. Am I missing a syntax quirk in how Genesys parses the JSONPath for array indices in Data Actions?