GPT4- Error 400

Hi,
I’m a newbie on n8n.

Objective

A flow between Notion > GPT4 > Notion (update a table)…

Problem - Error message

ERROR: Bad request - please check your parameters

400 - {“object”:“error”,“status”:400,“code”:“validation_error”,“message”:“body failed validation: body.properties.:robot:(autoN8N) Core Lesson.rich_text[0].text.content.length should be ≤ 2000, instead was 3654.”,“request_id”:“19b4277d-eaa5-4aa7-a274-947b6ff6fc70”} - body failed validation: body.properties.:robot:(autoN8N) Core Lesson.rich_text[0].text.content.length should be ≤ 2000, instead was 3654

Please share your workflow

Many thanks !

Information on your n8n setup

  • n8n version: 1.20
  • Database (default: SQLite): Notion
  • n8n EXECUTIONS_PROCESS setting (default: own, main): ??
  • Running n8n via (Docker, npm, n8n cloud, desktop app): npm
  • Operating system: W11

The error is pretty specific on the problem. It seems you are trying to insert a text that is too long:

Core Lesson.rich_text[0].text.content.length should be ≤ 2000 , instead was 3654

1 Like

As @systemaddict pointed out is that a Notion-Limit not an n8n one.
Here their docs: https://developers.notion.com/reference/request-limits#size-limits

1 Like

Ah, ok, nothing to do with n8n then…
Thank you!

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