Context:
Attempting to inject a custom variable into the IVR session via the Set Participant Data action. The payload structure matches the v2 schema, yet the flow execution logs show a hard fail.
POST /api/v2/flows/participants/{participantId}/data
Payload:
{
"key": "custom_ref",
"value": "12345"
}
Question:
Why does the API return a 400 Bad Request when the JSON is valid? The error trace indicates Invalid input format for data action. Is the value field strictly requiring a string wrapper even for numeric data, or is there a hidden schema constraint in the Architect Data Action definition?