> For the complete documentation index, see [llms.txt](https://doc.duaer.com/zh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/zh/integrations/builtin/app-nodes/duaer-nodes-base.notion/common-issues.md).

# Duaer 里 Notion 的常见问题

Duaer 里 Notion 节点的常见问题：关联属性不显示、可折叠标题、空值校验失败。
## 关联属性不显示 <a href="#relation-property-not-displaying" id="relation-property-not-displaying"></a>

Notion 节点只显示双向关联。在 Notion 里编辑关联属性，打开 Show on <关联数据库>。单向关联用 [HTTP Request](/zh/integrations/builtin/core-nodes/duaer-nodes-base.httprequest.md) 带同一个 Notion 凭证，向 https://api.notion.com/v1/pages/<page_id> 发 PATCH 更新。

## 创建可折叠标题 <a href="#create-toggle-heading" id="create-toggle-heading"></a>

Notion 节点能加 Heading 1–3，但不能直接设为可折叠。先用 Notion 节点加标题，再用 HTTP Request（Predefined Credential Type 选 Notion 凭证）向 https://api.notion.com/v1/blocks/<block_id> 发 PATCH，Body 为 {"heading_1": {"is_toggleable": true}}，按标题级别替换 heading_1。

## 空值导致校验失败 <a href="#handle-null-and-empty-values" id="handle-null-and-empty-values"></a>

字段从前面节点取值、而那一条没有数据时，Notion 会拒绝空值或 null。先用 [If](/zh/integrations/builtin/core-nodes/duaer-nodes-base.if.md) 判断，再用 Edit Fields (Set) 去掉空字段，或在表达式里给默认值。
## Questions

### Duaer 的 Notion 节点为什么看不到关联属性？

Duaer 的 Notion 节点只显示双向关联。在 Notion 里给关联属性打开 Show on <关联数据库>。

