Make Notion invalid_request_url: fix the empty page ID after Gmail and Search Objects
说明与用途
在 Make 中将 Gmail 同步到 Notion 时,如果 Search Objects 输出空页面 ID,会导致 invalid_request_url 错误。通过过滤非空 ID 并使用 Notion 的 Update 模块来解决。
问题
Notion’s API returns invalid_request_url when Make builds a request to /v1/pages/ with an empty page ID after Gmail and Search Objects modules.
结果
By ensuring Search Objects returns a valid page ID and filtering before updates, the invalid_request_url error is eliminated, enabling reliable Gmail-to-Notion sync on Make’s free plan.
工作流
- Watch emails in Gmail (or label watch).
- Search Notion objects by email using Search Objects module.
- Filter: Page ID exists (and optionally status not already Replied).
- Update Notion page or data source item using Update a Page or Update a Data Source Item module. (Optional) Log Message ID in Sheets to avoid repeats.
- Attach Retry module for transient failures, but not for empty-ID errors.
证据
Notion's API returns invalid_request_url when the page URL ends at /v1/pages/ with no page ID.
Treat "module success" and "business match found" as two different checks. Add a filter after Search Objects: Page ID (or equivalent) Exists before any update module runs.
Prefer current Data Source modules over Legacy database-item modules. Make documents that from 3 September 2025 Notion API 2025-09-03 uses data_source_id for new modules; Legacy modules still use database_id.
- 记录日期: 2026-10-15T16:41:03.795Z