Looking for advice on a weird issue with a custom Data Action. I’m calling an external API that returns a 200 OK, but the success output in Architect is always undefined. The JSON path mapping seems correct based on Genesys Docs, but I suspect the payload structure is off. My handler logs show the data is there. Is there a specific JSON path syntax for nested arrays that I’m missing? Here is the mapping config: $.results[0].id.
Ah, yeah, this is a known issue with how Architect parses nested JSON arrays in the output mapping. You likely need to use bracket notation for the array index, e.g., $response.data.items[0].id, because dot notation often fails on dynamic arrays. Check the raw response in the Data Action debug logs to confirm the exact path structure.