Hey folks,
Running into a weird issue with an Architect Data Action. I’m trying to call an external REST API to fetch some customer data and map the response back to Architect variables. The outbound call works fine (I’m seeing 200 OK in the logs), but the mapping step is throwing a 400 error.
Here’s the JSON payload I’m sending to the external endpoint:
{
"customerId": "{{Customer.ID}}",
"requestType": "profile"
}
The external API returns this:
{
"status": "success",
"data": {
"name": "John Doe",
"tier": "gold"
}
}
In the Data Action configuration, I’ve mapped the response like this:
{{Customer.Name}}=data.name{{Customer.Tier}}=data.tier
But it fails with a 400 error saying “Invalid mapping expression”. I’ve double-checked the variable names and the JSON structure. Any ideas what I’m missing? This is driving me crazy.