TomFrankly/pipedream-notion-recurring-tasks

Something is wrong with The Pipedream Workflow

Closed this issue · 3 comments

I've been trying to automate the recurring tasks workflow with pipedream. But i've been getting these errors.

Screen Shot 2024-04-16 at 7 15 45 PM

**This shows up under the test logs in the project:**⬇️
at null.buildRequestError (/tmp/pdg/dist/code/788a1de22ecc007b6904dab5d7c9de8e7365d5484c93ce59a7691596a15f4064/node_modules/.pnpm/@notionhq+client@2.2.15/node_modules/@notionhq/client/build/src/errors.js:162:16)
at Client.request (/tmp/pdg/dist/code/788a1de22ecc007b6904dab5d7c9de8e7365d5484c93ce59a7691596a15f4064/node_modules/.pnpm/@notionhq+client@2.2.15/node_modules/@notionhq/client/build/src/Client.js:378:54)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

@MidnightPremic looks like the Notion API is throwing a validation error. Can you open the toggles and show me the full error messages from those last two lines?

CleanShot 2024-04-17 at 07 56 09@2x

@MidnightPremic looks like the Notion API is throwing a validation error. Can you open the toggles and show me the full error messages from those last two lines?

CleanShot 2024-04-17 at 07 56 09@2x

Here are The 2 Toggles of The Error Message:
Screen Shot 2024-04-17 at 9 58 16 AM
Screen Shot 2024-04-17 at 9 58 24 AM

@MidnightPremic are you using one of my templates? If so, did you change any of the property names?

I believe the problem is either with the UTC Offset formula or the Type formula.

I'd recommend making sure those properties exist, are named with those exact names, and contain the formula code in this reference: https://thomasjfrank.com/notion-automated-recurring-tasks/#formulas-and-properties

Once that's done, if you're still getting an error, try re-generating the workflow from my link again to ensure its up to date: https://thomasjfrank.com/notion-automated-recurring-tasks/#automated-recurring-tasks-pipedream-workflow