WDE0025: The Collections collection does not exist

Hi I’m new here and I’m trying to make a double filter on my store and I alway get the same error code.
the textBox filter’s working great but the problem come from my dropdown filter

if someone can tell me where is the problem and how to solved it it would be great thanks in advance

here’s the code and a screen shot of my Id and my Database name:

import wixData from 'wix-data';

$w.onReady(() => {
	wixData.query('Collections')
		.find()
		.then(res => {
			let options = [{"value": '', 'label': 'all Collections'}];
			options.push(...res.items.map(collections => {
				return {'value': collections.title, 'label': collections.title};
			}));
			$w('#iConsole').options = options;
		})
})

let lastFilterTitle;
let lastFilterCollections;

let debounceTimer;
export function iTitle_keyPress(event, $w) {
	if (debounceTimer) {
		clearTimeout(debounceTimer);
		debounceTimer = undefined;
	}
	debounceTimer = setTimeout(() => {
		filter($w('#iTitle').value, lastFilterCollections);
	}, 200);
}
	
function filter(title, collections) {
	if (lastFilterTitle !== title || lastFilterCollections !== collections) {
		let newFilter = wixData.filter();
		if (title)
			newFilter = newFilter.contains('name', title);
		if (collections)
			newFilter = newFilter.eq('collections', collections);
		$w('#dataset1').setFilter(newFilter);
		lastFilterTitle = title;
		lastFilterCollections = collections;
	}
}

export function iConsole_change(event, $w) {
	filter(lastFilterTitle, $w('#iConsole').value);
}

The collection you are referencing is a Stores collection, therefore you need to reference it as such:

wixData.query('Stores/Collections')

For more information on using Stores collections, see Corvid: Wix Stores “Collections” Collection Fields.

thanks Yisrael, I don’t want to abuse of your knowledge but now it’s loading but I got the error " Wix code SDK Warning: The selectOption parameter at index 31 that is passed to the options function cannot be set to [object Object]. Options must contain either a non-null value or a non-null label."

line 11

       $w('#iConsole').options = options;

I don’t understand why the site isn’t loading any of my list

@zedmekis It seems as if that option (index 31) is null or undefined. Make sure that all options have content and are not null. Is the field in your database collection empty? You can inspect all of your options by adding the following line before you set the dropdown options:

console.log(options);