Airtable Attachments having issues with n8n

Hi,
I am trying to use “Airtable append” to add data in Airtable and images, but the URL to attachments seems not to be working.

I get this error:

ERROR: Airtable error response [INVALID_ATTACHMENT_OBJECT]: Invalid attachment for field MainImage: parameters must be objects, not strings

Error: Airtable error response [INVALID_ATTACHMENT_OBJECT]: Invalid attachment for field MainImage: parameters must be objects, not strings
    at Object.apiRequest (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Airtable/GenericFunctions.js:35:23)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

Is there a way to solve this, or this process still needs to be followed?

Thank you.

If you are using the field type attachment, that will not work. You have to use the Single line text type.

How are you sending the data to the append operation?

Hi,
I am sending the data via airtable append with the “send all” fields, and yes the airtable endpoint is an attachment.

Ok, so this is the way to go? Airtable workflow to upload attachment?

Thank you.

Hey @Jorge_M!

You can also refer to the solution in this topic: How can I upload a file from HTTP Request node to Airtable?