Hey everyone,
I’m running into a weird issue with an Architect Data Action. I have a simple HTTP request action that calls an external endpoint to fetch customer details. The response comes back with a 200 status code and valid JSON, but the variables in the flow don’t get populated. They stay blank.
Here is the JSON configuration for the Data Action:
{
"request": {
"method": "GET",
"url": "https://my-external-api.com/v1/customer/{CustomerId}",
"headers": {
"Accept": "application/json",
"Authorization": "Bearer {{myToken}}"
}
},
"response": {
"successStatusCodes": [200],
"fields": {
"customerName": "$.name",
"customerTier": "$.tier"
}
}
}
The external API returns this payload:
{
"name": "John Doe",
"tier": "Gold",
"id": 12345
}
I’ve double checked the JSONPath expressions. $.name and $.tier should definitely match. The debug log shows the request succeeded and the raw response body is present. It’s just not mapping to the customerName variable I set up in the flow.
Am I missing a step in the field mapping syntax? Or is there a known quirk with how Architect parses nested objects in the response body?
I’ve tried restarting the flow and clearing the cache, but no luck.