Not sure why I’m getting this error. Using an empty array works and removes the values. Essentially what I’m doing is, I’m matching companies to different events. I want to add the companies that are matched when found in the loop into my field called “Mail_Chimp_Company_LookUp”. This script is automatically updating all records every time an event is created. The results variable is an array of companies that are matched to the event tags.
Solved
Field [linked record] cannot accept the provided value, what is the error?
Best answer by kuovonne
You need an array of objects, each with their own record ID. You are putting all the IDs in a single object. Notice that the object key is id
and not ids
. That is a clue that you need to include only one ID.
Try something like this …
“Mail_Chimp_Company_Look”: [
{id: Ebay.id},
{id: Amazon.id},
{id: FaceBook.id},
],
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.