Hi, I hope it's ok to ask for some human help here. Like many, i'm sure, I've been getting OpenAI to help me out when my coding doesn't work, and for the most part that's been fine. But i'm stuck on something now.
I have a script which takes a 'booking' (which is a record in a Bookings table), looks at the linked record for {Episode} and {Element} and increments the number found within each by 1. It then searches up those records in the relevant tables "Episodes" and "Elements" and tries to create a new record with those found RecordIDs in the relevant fields. I am getting stuck as the script reports that the fields in question (which I've confirmed are correct IDs) won't accept the RecordIDs in the format they are being given.
The fields are linked records, able to accept multiple records, so I think the script is presenting the RecordIDs as an array. the script is below, and also the error I receive.
The error I get is:
- "Searching for "Mr *** 102" in Episodes"
CONSOLE.LOG
- "Found matching record "Mr *** 102" with ID recQ3WRDltScngM4W in Episodes"
CONSOLE.LOG
- "Searching for "MBS 102 Foley record" in Mix Elements"
CONSOLE.LOG
- "Found matching record "MBS 102 Foley record" with ID recW8ts94WGLesW83 in Mix Elements"
CONSOLE.LOG
- "Attempting to create record with new Episode ID: ["recQ3WRDltScngM4W"] and Element ID: ["recW8ts94WGLesW83"]"
CONSOLE.ERROR
- "Error creating record: a: Field "fldUVZDMOGZpHpgnS" cannot accept the provided value."
[I redacted some data in the episode name for privacy issues]