Notion search objects filter formula date error

Hi this is my first time to try this, I set a filter use date - on or before, then I get an error, I wonder how to fix it…?

RuntimeError
The operation failed with an error. [400] body failed validation. Fix one: body.filter.or[0].date.equals should be defined, instead was undefined. body.filter.or[0].date.before should be defined, instead was undefined. body.filter.or[0].date.after should be defined, instead was undefined. body.filter.or[0].date.on_or_before should be defined, instead was undefined. body.filter.or[0].date.on_or_after should be defined, instead was undefined. body.filter.or[0].date.this_week should be defined, instead was undefined. body.filter.or[0].date.past_week should be defined, instead was undefined. body.filter.or[0].date.past_month should be defined, instead was undefined. body.filter.or[0].date.past_year should be defined, instead was undefined. body.filter.or[0].date.next_week should be defined, instead was undefined. body.filter.or[0].date.next_month should be defined, instead was undefined. body.filter.or[0].date.next_year should be defined, instead was undefined. body.filter.or[0].date.is_empty should be defined, instead was undefined. body.filter.or[0].date.is_not_empty should be defined, instead was undefined.

Hello, you may try the following:

  1. Instead of “Formula: Date - On or before” as the filter option, use “Date - On or before”.

  2. If #1 still throws an error, replace “now” with formatDate({{now}};MM/DD/YYYY)

Let us know how it goes