notion-health-day-board

Troubleshooting

These are real problems met while building this project, and how each one was fixed.

How to see what went wrong

The last action of the Shortcut, Show Notification, shows Notion’s answer.

To see the exact message your iPhone sends, change the notification to the Body variable for one run. Body holds your health line, not your key, so it is safe to share when you ask for help. Change it back to Contents of URL after.

Shortcut errors

You see Cause Fix
A notification, but no new line in Notion Get Contents of URL does not stop when Notion says no. Read the notification. Notion’s answer is in it.
invalid_json The message to Notion is broken. 1. Request Body, File must be the variable Body, not Text. Two actions are called Text, and the first one is not JSON. 2. The Notion message box must be one line: no return key presses. 3. The daily line must start with the Formatted Date bubble, with no empty line before it. 4. Turn off Smart Punctuation (Settings, General, Keyboard), then paste the start and end parts again, so the quotes are straight.
401 and “Authorization header must use the format Bearer” Header 1 is badly formed. Clear the Text of the Authorization header. Paste Bearer (with one space), then your key. Tap at the end and press delete once to remove a hidden line break copied from Notes. Check the Key is spelled Authorization, with a z.
401 and “API token is invalid” The key is old or mistyped. Copy the current key from notion.so/profile/integrations again.
404 and object_not_found The key cannot see the Health Log page. Give the integration access to Health Log: integration settings, Access, Edit access, tick Health Log. Or in Notion: the page’s … menu, Connections.
“The network connection was lost” An empty header row. Or the permission box stopped the first try. Delete any empty header row, so there are exactly three. Run again and choose Always Allow. Still failing: try mobile data, and turn off VPN and Low Data Mode for the test.
Sending Health data is not allowed An iPhone privacy setting. Settings, Apps, Shortcuts, Advanced: turn on Allow Sharing Large Amounts of Data. Then Settings, Privacy and Security, Health, Shortcuts: Turn On All. Still failing: on the Shortcut tile, tap …, then i (or the name, then Details), Privacy, Reset Privacy, and run again.
The URL field shows a Text bubble Shortcuts fills the URL field with the action above by itself. Tap the bubble, tap Clear, then paste the Notion address as plain text.
You added Get Contents of Web Page Wrong action. It only reads Safari pages. Delete it. Add Get Contents of URL.
“to Sum” instead of “to Statistics” Newer iOS names the result after the calculation. Nothing to fix. “to Sum”, “to Average” and “to Maximum” are correct.
No Duplicate when you hold an action Some iOS versions hide it. Add the actions from the Search box again, and drag them into place.

Wrong numbers

You see Cause Fix
Steps about double the Health app iPhone and Apple Watch both count steps. Shortcuts adds them up. Count each device separately with a Source filter, and keep the bigger number (see the action map).
Steps a little lower than the Health app The Health app joins both devices minute by minute. Shortcuts cannot. Normal. Keeping the bigger number is close and never doubled.
Group By Day still gives double steps On tested iOS versions, Group By does not merge devices. Use the Watch and iPhone maximum method.
A very high step number, for example ten times normal The Start Date filter is missing, so it adds up many days. Add Start Date is today to each Steps action.
HRV is different from the Health app summary The summary often shows only the latest reading. The Shortcut sends the average of the last 24 hours. Normal. In Health, open Heart Rate Variability, tap D, and look at the day’s average.
Sleep shows a large number like 26400 It is in seconds. Nothing to fix. The board turns it into hours.
Empty values right after midnight The new day has just started. Normal. The evening run fills the day.
No Time in Daylight type Many iPhones do not offer it in Shortcuts. Skip it. The board hides daylight when there is no data.
Sleep score is missing Apple does not let Shortcuts read the Sleep Score. Type it in the daily check-in on the Wellbeing page.

Automation

You see Cause Fix
No Next button when making the automation iOS 26 shows automations like a Shortcut with a timer at the top. Set the time, then add the action Run Shortcut from the Search box and choose your Shortcut. Tap the back arrow to save.
The evening line does not come Health data is locked while the iPhone is locked. Pick a time when you usually still use your phone, or run the Shortcut by hand.

Day board

You see Cause Fix
“Set your Notion page IDs in the board file first” The placeholders are still in the file. Replace YOUR-TODO-LIST-PAGE-ID and YOUR-HEALTH-LOG-PAGE-ID (README, step 2).
A health line is not read Notion stores the separators as \|. Fixed in the board. If you change the parser, remove the backslashes first.
“Notion is not allowed for this page” You did not allow the Notion connection for the board. Allow it from the page’s Permissions, then press Sync Notion again.
Desktop widget problems Different on each system. See the “If it does not work” table in the guide for your system: Windows, Mac, Linux.