NocoDB Upload Attachment Issues with HTTP Node

Has anyone successfully uploaded an OpenAI generated image to NocoDB via the HTTP Request Node? I feel like I have tried everything. The node works but all I get is a “Null” in the “Cover Image” Attachment field.

HTTP Node:

Share the output returned by the last node

[
{
“Id”: 5,
“CreatedAt”: “2025-08-27 03:53:07+00:00”,
“UpdatedAt”: “2025-08-27 04:11:52+00:00”,
“nc_order”: 5,
“Title”: “Teaching Kids to Tie Shoes”,
“Project ID”: “25ca8f50-788b-81f1-bb6f-c06eb7797ccb”,
“Cover Image”: null
}
]

Information on your n8n setup

  • n8n version: 1.107.4
  • Database (default: SQLite): Default
  • n8n EXECUTIONS_PROCESS setting (default: own, main): Defult
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker/Portainer
  • Operating system: Synology DSM 7.2.2

I suggest you do this in two steps:

First, upload the file to storage.
Endpoint: POST /api/v2/storage/upload
Auth: header xc-token: <API_TOKEN>
Body: multipart/form-data with a single file field containing the binary.
Response: an array with the file description(s) (url, title, mimetype, size, etc.). This array is what goes into the Attachment column.

Then create/update the row with the attachment:
Endpoint: POST /api/v2/tables/{TABLE_ID}/records (or PATCH /…/records/{id})
Auth: xc-token
Content-Type: application/json
{
“Title”: “Teaching Kids to Tie Shoes”,
“Cover Image”: [ /* paste the answer from step 1 here */ ]
}

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.