I’m currently developing a Zapier application using the command line interface and encountering a strange issue. Certain input fields appear multiple times in the user interface. I’ve checked the input field definitions in my creation module and they are listed properly under operation.inputFields. However, I’m experiencing duplication; for instance, one field presents as “Donation Amount” and another simply as “Amount”. The “Donation Amount” seems to retrieve the correct data.
Here’s a look at my code in the creation module:
const createDonation = {
key: 'donation',
noun: 'Donation',
display: {
label: 'Create Donation',
description: 'Creates a new donation record'
},
operation: {
inputFields: [
{
key: 'amount',
label: 'Donation Amount',
type: 'number',
required: true
},
{
key: 'project_id',
label: 'Project ID',
type: 'string'
}
]
}
};
The response from the API is structured like this:
{
"amount": 100,
"project_id": "proj_123",
"status": "completed"
}
I have attempted to remove the input fields from operation.inputFields, but the duplicate fields still appear. Additionally, I’ve tried deleting the noun attribute, as I’ve noticed that “Donation” is prefixed on all duplicated fields.
What else could I investigate to resolve this issue?