[400] body failed validation

I`m trying to switch my Automation from AurTable to Notion, but have a trouble with Search by Item Databe

[400] body failed validation. Fix one:
body.filter.or[0].rich_text.equals should be defined, instead was undefined.
body.filter.or[0].rich_text.does_not_equal should be defined, instead was undefined.
body.filter.or[0].rich_text.contains should be defined, instead was undefined.
body.filter.or[0].rich_text.does_not_contain should be defined, instead was undefined.
body.filter.or[0].rich_text.starts_with should be defined, instead was undefined.
body.filter.or[0].rich_text.ends_with should be defined, instead was undefined.
body.filter.or[0].rich_text.is_empty should be defined, instead was undefined.
body.filter.or[0].rich_text.is_not_empty should be true, instead was "".


I don`t know what to do cause I can not find any “rich text” type of filter here…

Hi Hanna,
This error happens because there is no value to compare the filter (empty box in screenshot 1). You can insert {{true}} (from the settings section in the Make menu), assuming you want to search database items where “thread_ts” is not empty.

2 Likes

Thanks! It was helpful.