Notion node throw URL must start with "http" or "https"

Describe the problem/error/question

Workflow failing with error

What is the error message (if any)?

Invalid URL: https://api.notion.com/v1/blocks/27f66fe6-e19b-8195-b7f9-e913cfa10451/children. URL must start with “http” or “https”.

Please share your workflow

Share the output returned by the last node

[
{
“object”: “page”,
“id”: “27f66fe6-e19b-8195-b7f9-e913cfa10451”,
“created_time”: “2025-10-01T12:34:00.000Z”,
“last_edited_time”: “2025-10-01T12:34:00.000Z”,
“created_by”: {
“object”: “user”,
“id”: “8adc5c77-7f93-453b-a5ef-44c5e863a14a”
},
“last_edited_by”: {
“object”: “user”,
“id”: “8adc5c77-7f93-453b-a5ef-44c5e863a14a”
},
“cover”: null,
“icon”: null,
“parent”: {
“type”: “database_id”,
“database_id”: “22666fe6-e19b-80ad-b431-d39456740cfc”
},
“archived”: false,
“in_trash”: false,
“is_locked”: false,
“properties”: {
“Order Date”: {
“id”: “%3FRRr”,
“type”: “date”,
“date”: null
},
“Shipping Method”: {
“id”: “%40%5Et%3D”,
“type”: “rich_text”,
“rich_text”: [
{
“type”: “text”,
“text”: {
“content”: “N/A”,
“link”: null
},
“annotations”: {
“bold”: false,
“italic”: false,
“strikethrough”: false,
“underline”: false,
“code”: false,
“color”: “default”
},
“plain_text”: “N/A”,
“href”: null
}
]
},
“Customer Email”: {
“id”: “%40cau”,
“type”: “email”,
“email”: “xandrs.box”
},
“Order Status”: {
“id”: “Raeo”,
“type”: “rich_text”,
“rich_text”:
},
“Last edited time”: {
“id”: “Xlhr”,
“type”: “last_edited_time”,
“last_edited_time”: “2025-10-01T12:34:00.000Z”
},
“Created”: {
“id”: “m%7Dj~”,
“type”: “created_time”,
“created_time”: “2025-10-01T12:34:00.000Z”
},
“Order Number”: {
“id”: “oiaR”,
“type”: “rich_text”,
“rich_text”: [
{
“type”: “text”,
“text”: {
“content”: “3061617247934981”,
“link”: null
},
“annotations”: {
“bold”: false,
“italic”: false,
“strikethrough”: false,
“underline”: false,
“code”: false,
“color”: “default”
},
“plain_text”: “3061617247934981”,
“href”: null
}
]
},
“Name”: {
“id”: “title”,
“type”: “title”,
“title”: [
{
“type”: “text”,
“text”: {
“content”: “AliExpress order confirmation with multiple items”,
“link”: null
},
“annotations”: {
“bold”: false,
“italic”: false,
“strikethrough”: false,
“underline”: false,
“code”: false,
“color”: “default”
},
“plain_text”: “AliExpress order confirmation with multiple items”,
“href”: null
}
]
}
},
“url”: “Notion”,
“public_url”: null,
“page_id”: “27f66fe6-e19b-8195-b7f9-e913cfa10451”,
“children”: [
{
“type”: “toggle”,
“toggle”: {
“rich_text”: [
{
“type”: “text”,
“text”: {
“content”: “[Date: Wed, 1 Oct 2025 05:33:30 -0700 (PDT)] Order 3061617247934981: order confirmed”,
“link”: null
}
}
],
“color”: “default”,
“children”: [
{
“object”: “block”,
“type”: “code”,
“code”: {
“rich_text”: [
{
“type”: “text”,
“text”: {
“content”: “<div style="display:none"><img style="display:none" src="http://ae.mmstat.com/ae.edm.edm_open?tracelog=rowan-trade-platform-pay_success_202507210257_1_en_US-2025-10-01&rowan_msg_id=4981306161724793$27066f3575f94f0585e40f48b30f6f39&mem_info=Z2DFjpb8Pwf5w7iVrJ8Y6w==-1002-pay_success_202507210257-IxD4C+i2/VFyErFbJsu1zne9Gmd9LGeVDg6sRadoSgo=\”/>
\n<html xmlns="http://www.w3.org/1999/xhtml\" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">\n \n <meta name="viewport" content="width=device-width, initial-scale=1"> \n \n \n \n <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> \n <style type="text/css">\n outlook a { padding:0; }\n body { margin:0;padding:0;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%; }\n table, td { border-collapse:collapse;mso-table-lspace:0pt;mso-table-rspace:0pt; }\n img { border:0;height:auto;line-height:100%; outline:none;text-decoration:none;-ms-interpolation-mode:bicubic; }\n p { display:block;margin:13px 0; }\n \n \n \n \n <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,500,700\" rel="stylesheet" type="text/css"> \n <style type="text/css">x\n @import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,500,700);\n ",
“link”: null
}
}
],
“language”: “javascript”
}
}
]
}
}
]
}
]

Information on your n8n setup

  • n8n version: 1.113.3
  • Database (default: SQLite): default
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Digital Ocean Docker
  • Operating system: ubuntu2204lts

Formatting got broken after posting, but I cannot fix it

It turns out there is an extra space in URL. Error appeared after I’ve upgraded my instance today

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.