Retool Storage Query

I'm trying a specific folder files content but the query show error
Is there any solution ?

Hey @Avner1 To handle this, you'll need to add some logic to prevent chaining onto f.folderName when f.folderName is null. For example you could utilize optional chaining

return data.filter(f => f.folderName?.startsWith('MQ'))

or use the and operator

return data.filter(f => f.folderName && f.folderName.startsWith('MQ'))