Solving Notion API Call Error: A Guide for Make Users

Have you ever tried to create a database in Notion that updates with new time entries from your Toggl Track? It's a great way to keep track of your time and tasks. But what if you want to delete a time entry on Notion and have it delete on both Toggl and the database? This can be a bit tricky, but don't worry, we've got you covered.

The Problem

Let's say you have a checkbox in your database called “Archive?” and then on Make you search for objects in that Notion database, and have an aggregator sending the page ID out to a Notion API Call set to “DELETE” with a filter for whether the checkbox is marked or not. But for some reason, you get the error: “The operation failed with an error. [400] Error parsing JSON body.” everytime you try and run it. This can be quite frustrating, especially if you're new to using Make.

The Solution

The issue here is that you’ve mapped the data in the URL field wrongly. It required specific format like “/v1/blocks/…”. To fix this, you need to remove unwanted parts from the URL and try again. If you're still dealing with the same issue, it might be that the correct data is being output/input from the aggregator to the Notion API call but it’s just having an issue figuring out what to do with it from there.

Here's a step-by-step guide on how to do it:

  1. Check the URL field and make sure it's in the correct format like “/v1/blocks/…”.
  2. Remove any unwanted parts from the URL.
  3. Try running the operation again.
  4. If you're still having issues, incorporate blank curly braces within the body, similar to {}.

Troubleshooting Tips

If you're still having issues, here are a few troubleshooting tips:

  • Double-check the URL field and make sure it's in the correct format.
  • Make sure you've removed all unwanted parts from the URL.
  • Try incorporating blank curly braces within the body, similar to {}.

Conclusion

Dealing with errors can be frustrating, but with a bit of patience and troubleshooting, you can solve most issues. Remember, the key is to understand the problem and then take systematic steps to solve it. We hope this guide has been helpful in solving your Notion API Call error. Happy Making!

You do have further questions?

Ask your question via E-Mail: Richard@make-app.de
Book a paid Support & Consulting Session
New Make.com user? Sign up through this Affiliate Link to receive 10.000 operations for FREE.