mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
can't update Notion database while using tool #526
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @huytd2004 on GitHub (Aug 6, 2025).
Self Checks
Dify version
1.7.1
Cloud or Self Hosted
Cloud
Steps to reproduce
when I use Update Notion Database with the following Database Properties:
✔️ Expected Behavior
i want to update here
❌ Actual Behavior
I get the following error:
@dosubot[bot] commented on GitHub (Aug 6, 2025):
Hi @huytd2004! I'm Dosu and I’m helping the dify team.
The error happens because the Notion API expects the "title" property to be an object with a "title" key containing an array of rich text objects—not an array directly. Your payload should look like this:
Make sure the property names and types match exactly with your Notion database schema. Dify does not reformat or validate these payloads, so the JSON you provide must follow Notion's API requirements precisely. For more details, see the relevant GitHub discussion.
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other

@huytd2004 commented on GitHub (Aug 6, 2025):
@dosu
I used the payload you provided and encountered the same error. I have also checked the property names of the Notion database, and they all match:
@dosubot[bot] commented on GitHub (Aug 6, 2025):
The schema you posted is the database structure returned by the Notion API, not the format required for updating a database entry. When updating a Notion database row, your payload must match Notion's update API format, which looks like this:
Notice that each property is an object with the correct type key (
title,number,date), and thetitleproperty is an object with atitlekey containing an array of rich text objects—not just an array or an empty object. Do not include theidortypefields from the schema in your update payload.Dify does not modify your payload, so it must exactly match what Notion expects. If you still get errors, try sending this payload directly to the Notion API to confirm it works outside Dify. For more details, see the relevant GitHub discussion.
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other

@huytd2004 commented on GitHub (Aug 6, 2025):
@dosu
I tested this payload using Postman and the result was OK, but i test this in dify and get the same error.
@jingfelix commented on GitHub (Aug 9, 2025):
I will have a look 👀
@dosubot[bot] commented on GitHub (Aug 25, 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:
Next Steps:
Thank you for your understanding and contribution!