Can't update notion database #525

Closed
opened 2026-02-16 10:19:39 -05:00 by yindo · 4 comments
Owner

Originally created by @huytd2004 on GitHub (Aug 5, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues Dify issues & Dify Official Plugins, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.7.1

Plugin version

0.0.1

Cloud or Self Hosted

Cloud

Steps to reproduce

I am using the Create Notion Database and Update Notion Database actions from the Notion tool.
When using Create Notion Database, I was able to create the database successfully (see attached screenshot).

Image

Properties used for creation:

{
  "Grocery item": {
    "id": "fy:{",
    "type": "title",
    "title": {}
  },
  "Price": {
    "id": "dia[",
    "type": "number",
    "number": {
      "format": "dollar"
    }
  },
  "Last ordered": {
    "id": "]\\R[",
    "type": "date",
    "date": {}
  }
}

✔️ Error log

However, when I use Update Notion Database with the following Database Properties:

{
  "Grocery item": {
    "type": "title",
    "title": [{ "type": "text", "text": { "content": "Tomatoes" } }]
  },
  "Price": {
    "type": "number",
    "number": 1.49
  },
  "Last ordered": {
    "type": "date",
    "date": { "start": "2021-05-11" }
  }
}
Image

I get the following error:

{
  "text": "Bad request: Notion API Error: validation_error - body failed validation. Fix one:\nbody.properties.Grocery item.number should be defined, instead was `undefined`.\nbody.properties.Grocery item.formula should be defined, instead was `undefined`.\nbody.properties.Grocery item.select should be defined, instead was `undefined`.\nbody.properties.Grocery item.multi_select should be defined, instead was `undefined`.\nbody.properties.Grocery item.status should be defined, instead was `undefined`.\nbody.properties.Grocery item.relation should be defined, instead was `undefined`.\nbody.properties.Grocery item.rollup should be defined, instead was `undefined`.\nbody.properties.Grocery item.unique_id should be defined, instead was `undefined`.\nbody.properties.Grocery item.title should be an object, instead was `[{\"type\":\"text\",\"text\":{\"content\":\"Tomatoes\"}}]`.\nbody.properties.Grocery item.rich_text should be defined, instead was `undefined`.\nbody.properties.Grocery item.url should be defined, instead was `undefined`.\nbody.properties.Grocery item.people should be defined, instead was `undefined`.\nbody.properties.Grocery item.files should be defined, instead was `undefined`.\nbody.properties.Grocery item.email should be defined, instead was `undefined`.\nbody.properties.Grocery item.phone_number should be defined, instead was `undefined`.\nbody.properties.Grocery item.date should be defined, instead was `undefined`.\nbody.properties.Grocery item.checkbox should be defined, instead was `undefined`.\nbody.properties.Grocery item.created_by should be defined, instead was `undefined`.\nbody.properties.Grocery item.created_time should be defined, instead was `undefined`.\nbody.properties.Grocery item.last_edited_by should be defined, instead was `undefined`.\nbody.properties.Grocery item.last_edited_time should be defined, instead was `undefined`.\nbody.properties.Grocery item.button should be defined, instead was `undefined`.\nbody.properties.Grocery item.location should be defined, instead was `undefined`.\nbody.properties.Grocery item.verification should be defined, instead was `undefined`.\nbody.properties.Grocery item.last_visited_time should be defined, instead was `undefined`.\nbody.properties.Grocery item.place should be defined, instead was `undefined`.\nbody.properties.Grocery item.name should be defined, instead was `undefined`.. Please check the properties format.",
  "files": [],
  "json": [
    {
      "data": []
    }
  ]
}
Originally created by @huytd2004 on GitHub (Aug 5, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [Dify issues](https://github.com/langgenius/dify/issues) & [Dify Official Plugins](https://github.com/langgenius/dify-official-plugins/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.7.1 ### Plugin version 0.0.1 ### Cloud or Self Hosted Cloud ### Steps to reproduce I am using the **Create Notion Database** and **Update Notion Database** actions from the Notion tool. When using **Create Notion Database**, I was able to create the database successfully (see attached screenshot). <img width="522" height="654" alt="Image" src="https://github.com/user-attachments/assets/eec5a2a3-71b0-4034-8148-fa601c0b1926" /> **Properties used for creation:** ```json { "Grocery item": { "id": "fy:{", "type": "title", "title": {} }, "Price": { "id": "dia[", "type": "number", "number": { "format": "dollar" } }, "Last ordered": { "id": "]\\R[", "type": "date", "date": {} } } ``` ### ✔️ Error log However, when I use **Update Notion Database** with the following Database Properties: ```json { "Grocery item": { "type": "title", "title": [{ "type": "text", "text": { "content": "Tomatoes" } }] }, "Price": { "type": "number", "number": 1.49 }, "Last ordered": { "type": "date", "date": { "start": "2021-05-11" } } } ``` <img width="529" height="844" alt="Image" src="https://github.com/user-attachments/assets/693f05f5-b595-4fc3-92eb-46e9229613a7" /> I get the following error: ``` { "text": "Bad request: Notion API Error: validation_error - body failed validation. Fix one:\nbody.properties.Grocery item.number should be defined, instead was `undefined`.\nbody.properties.Grocery item.formula should be defined, instead was `undefined`.\nbody.properties.Grocery item.select should be defined, instead was `undefined`.\nbody.properties.Grocery item.multi_select should be defined, instead was `undefined`.\nbody.properties.Grocery item.status should be defined, instead was `undefined`.\nbody.properties.Grocery item.relation should be defined, instead was `undefined`.\nbody.properties.Grocery item.rollup should be defined, instead was `undefined`.\nbody.properties.Grocery item.unique_id should be defined, instead was `undefined`.\nbody.properties.Grocery item.title should be an object, instead was `[{\"type\":\"text\",\"text\":{\"content\":\"Tomatoes\"}}]`.\nbody.properties.Grocery item.rich_text should be defined, instead was `undefined`.\nbody.properties.Grocery item.url should be defined, instead was `undefined`.\nbody.properties.Grocery item.people should be defined, instead was `undefined`.\nbody.properties.Grocery item.files should be defined, instead was `undefined`.\nbody.properties.Grocery item.email should be defined, instead was `undefined`.\nbody.properties.Grocery item.phone_number should be defined, instead was `undefined`.\nbody.properties.Grocery item.date should be defined, instead was `undefined`.\nbody.properties.Grocery item.checkbox should be defined, instead was `undefined`.\nbody.properties.Grocery item.created_by should be defined, instead was `undefined`.\nbody.properties.Grocery item.created_time should be defined, instead was `undefined`.\nbody.properties.Grocery item.last_edited_by should be defined, instead was `undefined`.\nbody.properties.Grocery item.last_edited_time should be defined, instead was `undefined`.\nbody.properties.Grocery item.button should be defined, instead was `undefined`.\nbody.properties.Grocery item.location should be defined, instead was `undefined`.\nbody.properties.Grocery item.verification should be defined, instead was `undefined`.\nbody.properties.Grocery item.last_visited_time should be defined, instead was `undefined`.\nbody.properties.Grocery item.place should be defined, instead was `undefined`.\nbody.properties.Grocery item.name should be defined, instead was `undefined`.. Please check the properties format.", "files": [], "json": [ { "data": [] } ] } ```
yindo added the bug label 2026-02-16 10:19:39 -05:00
yindo closed this issue 2026-02-16 10:19:39 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Aug 22, 2025):

Hi, @huytd2004. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You reported that the "Update Notion Database" action in Dify version 1.7.1 (cloud) fails to update database properties.
  • The "Create Notion Database" action works correctly for you.
  • You provided JSON examples and a screenshot to illustrate the problem.
  • There has been no further activity or comments on this issue since your report.

Next Steps:

  • Please let me know if this issue is still relevant with the latest version of dify-official-plugins by commenting here.
  • If I do not hear back within 5 days, I will automatically close this issue.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Aug 22, 2025): Hi, @huytd2004. I'm [Dosu](https://dosu.dev), and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale. **Issue Summary:** - You reported that the "Update Notion Database" action in Dify version 1.7.1 (cloud) fails to update database properties. - The "Create Notion Database" action works correctly for you. - You provided JSON examples and a screenshot to illustrate the problem. - There has been no further activity or comments on this issue since your report. **Next Steps:** - Please let me know if this issue is still relevant with the latest version of dify-official-plugins by commenting here. - If I do not hear back within 5 days, I will automatically close this issue. Thank you for your understanding and contribution!
Author
Owner

@joreyolo commented on GitHub (Sep 9, 2025):

Hello, may I ask if your issue has been resolved?

@joreyolo commented on GitHub (Sep 9, 2025): Hello, may I ask if your issue has been resolved?
Author
Owner

@huytd2004 commented on GitHub (Oct 15, 2025):

Hello, may I ask if your issue has been resolved?

Actually this node will change the properties of the table.
Currently I am using http node to update records in database

@huytd2004 commented on GitHub (Oct 15, 2025): > Hello, may I ask if your issue has been resolved? Actually this node will change the properties of the table. Currently I am using http node to update records in database
Author
Owner

@joreyolo commented on GitHub (Oct 15, 2025):

Hello, may I ask if your issue has been resolved?

Actually this node will change the properties of the table. Currently I am using http node to update records in database

Got it. Do you have any plans to update or modify this feature itself?

@joreyolo commented on GitHub (Oct 15, 2025): > > Hello, may I ask if your issue has been resolved? > > Actually this node will change the properties of the table. Currently I am using http node to update records in database Got it. Do you have any plans to update or modify this feature itself?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#525