Patch a list of things

Hello there !

I try to update an object from airtable to bubble data base through n8n (opensource zapier).

I can update text and thing, but I can’t update lists of things.

When I firstly GET the object I have an array of ID (list of things), but when I want to PATCH it with new thing’s IDs, it responds 400.

I can’t find the format for sending a list of things back.

Does anybody have an idea on how to do this ?

I can share screenshot if needed

Thanks !

(Sorry for my english)

Hey @bastiendicristofaro,

I realize it’s probably too late for this to help you, but for anyone else who comes across this, here’s what you need to do.

You need to wrap the value of your JSON for the list of things field in brackets and wrap each item in that list in quotes.

So it’ll look like this:

1 Like

Reopening this topic, I’m speaking with bubble support and they told me I can use the PATCH method to append new list items to an existing list. Im trying to reproduce the expected behavior and its only overwriting the data. The reason im not calling the GET method to get list details, then updating, then writing back, is because of the bubble list limitations. They told me this API call would solve that problem, but the implementation is not resulting in the expected behavior.

I am having the same issue - searching the forum doesnt help - just turns up more posts with no solutions. Im starting to think it’s not possible to add a record to alist via api.