Skip to content
Airtable Update Err...
 
Notifications
Clear all

Airtable Update Error: Missing 'id' or 'fields' in array

6 Posts
4 Users
0 Reactions
6 Views
fxholl
(@fxholl)
Posts: 3
Active Member
Topic starter
 

I need to dispatch a Welcome message to new customers via a third-party service. Customer data originates from a CRM named Kiskadi, accessed through a GET HTTP node (as webhooks are not currently available). This data is polled hourly and might include duplicate customer entries. Therefore, I must ensure that each customer receives the Welcome message only once.

I've set up an initial workflow in callin.io where all polled customers are sent to an Airtable base, and this process functions correctly:

Within this base, I've included a field to track the message sending status. When a customer record is initially created in Airtable, this field defaults to "not_sent".

I've then created a second workflow in callin.io to send the message to customers via an HTTP request to an online service I'm calling Fitmuck. To prevent sending the message multiple times, I need to update the 'sent_status' field in Airtable for the customer to "sent". This is where I'm encountering an issue:

When I attempt to update the 'sent_status' value, I receive the following error: "ERROR: must provide array with an “id” ID field and a “fields":

Does anyone have any suggestions to help resolve this?

 
Posted : 12/11/2022 9:55 pm
marcus
(@marcus)
Posts: 2
New Member
 

Hi,
to ensure you're exclusively updating the sent_status field, you can implement the following.

 
Posted : 14/11/2022 4:27 pm
fxholl
(@fxholl)
Posts: 3
Active Member
Topic starter
 

I attempted to restrict it to the single field, but I'm still encountering the same error.

 
Posted : 14/11/2022 7:55 pm
Jon
 Jon
(@jon)
Posts: 96
Trusted Member
 

Hello,

Could you please try Marcus's suggestion and remove the expression from the Fields, typing in sent_status instead, unless your field name is actually sent?

 
Posted : 15/11/2022 10:41 am
fxholl
(@fxholl)
Posts: 3
Active Member
Topic starter
 

I opted to use Google Sheets instead, and found a way to make it function. As I couldn't locate a Google Sheet trigger node, I incorporated a Cron node with polling.

 
Posted : 26/11/2022 11:31 am
system
(@system)
Posts: 332
Reputable Member
 

This thread was automatically closed 7 days following the last response. New replies are no longer permitted.

 
Posted : 03/12/2022 11:32 am
Share: