Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Make Notion invalid_request_url: fix the empty page ID after Gmail and Search Objects

说明与用途

在 Make 自动化中,Gmail 触发后更新 Notion 页面时,空页面 ID 会导致 invalid_request_url 错误。过滤空 ID 并使用 Notion 内置更新模块可解决此问题。

问题

Notion’s API returns an invalid_request_url error when Make attempts to update a page with an empty page ID, typically after a Gmail trigger and a Search Objects module that returns no ID.

结果

By filtering out empty page IDs and preferring Notion’s built‑in Update modules, the workflow no longer triggers invalid_request_url errors and reliably updates Notion pages after Gmail events.

工作流

  • 1. Gmail Watch emails (or label watch).
  • 2. Notion Search Objects to find page by email.
  • 3. Filter: Page ID Exists (and optionally status not already Replied).
  • 4. Notion Update a Data Source Item or Update a Page to set Status/Last contacted.
  • 5. Optional: log Message ID in Sheets to avoid repeats.
  • 6. (If using HTTP) PATCH to https://api.notion.com/v1/pages/<page_id> with Notion headers, only when page_id is non-empty.

证据

Notion's API returns <code>invalid_request_url</code> when the page URL ends at <code>/v1/pages/</code> with no page ID.

来源

Green ✓1 is not "one match found"

来源

Prefer current Data Source modules over Legacy database-item modules.

来源

If you must use HTTP › Make a request: Method PATCH, URL <code>https://api.notion.com/v1/pages/<page_id></code> only when <code>page_id</code> is non-empty.

来源

  • 记录日期: 2026-10-15T16:41:06.290Z