# Notion filter - "and.a.split is not a function"

**URL:** <https://community.make.com/t/notion-filter-and-a-split-is-not-a-function/42509>\
**Category:** Questions\
**Tags:** notion\
**Created:** [June 20, 2024, 9:22am UTC](https://community.make.com/t/notion-filter-and-a-split-is-not-a-function/42509 "2024-06-20T09:22:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![swisloskislo](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/swisloskislo/32/38792_2.png) [@swisloskislo](https://community.make.com/u/swisloskislo)\
**Post date:** [June 20, 2024, 9:22am UTC](https://community.make.com/t/notion-filter-and-a-split-is-not-a-function/42509/1 "2024-06-20T09:22:18Z")

</div>

Hi everyone,

I’m having trouble with setting up a filter in [Make.com](http://Make.com). I have a Notion database where one of the columns is a checkbox labeled “Opublikowany” (which means “publicated”). I want the “Search Rows” module to pass only the rows where this checkbox is unchecked (false). I’ve attached a screenshot of how I’m setting the filter.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/9/7/978478cfd1267d2a8bf4a7aca1aa7696e09e2217.png)

Unfortunately, I’m encountering an error: “Function ‘filter’ finished with error! and.a.split is not a function”. I’m not sure what I’m doing wrong.

Can anyone help me figure out the correct way to set this up?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Simo](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/simo/32/9701_2.png) [@Simo](https://community.make.com/u/Simo)\
**Post date:** [June 23, 2024, 10:03am UTC](https://community.make.com/t/notion-filter-and-a-split-is-not-a-function/42509/3 "2024-06-23T10:03:33Z")

</div>

Hi,  
[Here](https://www.loom.com/share/b4a8ea8131b54bacab989302401fc8a0?sid=1652922e-6d51-4bb6-9815-5f6b2ace4664) (video) is how you could achieve this, using “Make an API Call” instead of “Search objects” (reason explained in the video).

Here is the body of the Make an API Call module _(edit the values in double curly brackets and bold correctly based on your scenario)_:

{  
“filter”: {  
“or”: [  
{  
“property”: “ **{{10.name}}** ”,  
“ **{{10.type}}** ”: {  
“equals”: false  
}  
}  
]  
},  
“sorts”: [  
{  
“timestamp”: “created\_time”,  
“direction”: “ascending”  
}  
]  
}

---

<div class="post-metadata">

**Author:** ![swisloskislo](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/swisloskislo/32/38792_2.png) [@swisloskislo](https://community.make.com/u/swisloskislo)\
**Post date:** [June 23, 2024, 6:01pm UTC](https://community.make.com/t/notion-filter-and-a-split-is-not-a-function/42509/4 "2024-06-23T18:01:45Z")

</div>

Thank you for your reply. It turned out that my error was retrieving the database ID from Output. All I had to do was manually enter the database ID and a list of available options appeared in the filter.

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [July 8, 2024, 6:09am UTC](https://community.make.com/t/notion-filter-and-a-split-is-not-a-function/42509/5 "2024-07-08T06:09:14Z")

</div>


