I am trying to define dynamic fields of an action with an API call. The output of the code has been defined with the following shcema: https://zapier.github.io/zapier-platform-schema/build/schema.html#fieldschema
For Example:
{
"label": "Middle Name",
"key": "MiddleName",
"required": false,
"type": "STRING"
}]
I am referencing the input fields like below:
body: {"records": ...bundle.inputData}
While trying to test the API call using UI or ZAP, I am getting an error: Unable to get a value when looking for "key". Is it empty or missing?
Am I missing some configuration? Is there any other way I can debug this error?