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

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

Описание и применение

В сценарии Make обновления страницы Notion после Gmail возникает ошибка invalid_request_url из‑за пустого ID страницы. Фильтрация пустых 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