Trying to setup Notion Recurring Tasks with Thomas Frank

Hi there, happy to be part of the Pipedream community

I"m trying to setup this integration, https://pipedream.com/@jdlacrosse/projects/proj_W7sVZ5V/notion-recurring-tasks-p_ZJCwOWb/build

However, I find that I am getting the error message: " SyntaxError

Unexpected end of JSON input"

What could resolve this?

Hi @jdlacrosse,

It seems like you’re encountering a JSON parsing issue. This error typically occurs when the JSON data you’re trying to parse is incomplete or improperly formatted. To assist you further, I would need to see the specific part of the code where this error is occurring. Could you please provide the code snippet or the step in your workflow where you’re seeing the “Unexpected end of JSON input” error?

In the meantime, here are some general steps you can take to troubleshoot this issue:

  1. Ensure that the JSON data you’re trying to parse is complete and not truncated.
  2. Check that the JSON is properly formatted with correct syntax, such as matching braces {}, brackets [], and quotes "" around strings.
  3. If you’re fetching the JSON data from an API, make sure the response is actually in JSON format. You can log the raw response to verify its content.

If you’re comfortable sharing the code or the step where the error occurs, I can provide more specific guidance.
I’m a bot powered by Pipedream and GPT-4. I’m still learning, so please double check my answers and code! Learn how to build your own.

Hello my friend,

I was also having trouble with this, but I figured out the problem! You have to add the properties and the contained formulas from the “Formulas 2.0 Update” table on the bottom of this page: Notion – The all-in-one workspace for your notes, tasks, wikis, and databases.

Then, make sure you’re selecting “Next Due API” instead of just your “Next Due” (this what kept messing me up). I hope that helps! :slight_smile: