Error message saying content collection does not exist

Hey guys
I’m trying to filter a repeater using 2 dropdowns and the following code I took from a YouTube video.
The problem is that when I try to filter in preview mode, I get an error message saying my collection does not exist, even though it does.
Would love to get some help in this matter :slight_smile:

Here is the code I used:

import wixData from ‘wix-data’ ;

export function button2_click ( event ) {
search ();
}

function search () {

wixData . query ( “Properties” )
. le ( “price” , Number ( $w ( “#dropdown1” ). value ))
. or ( wixData . query ( “Properties” ). eq ( “numberOfRooms” , Number ( $w ( “#dropdown2” ). value )))

. find ()
. then ( results => {
$w ( “#repeater1” ). data = results . items ;
});

}

Here is the error message I get:

Check the ID of DATABASE.

Hey thanks for responding.
Yea I’ve noticed the ID was wrong.