Might have missed that it was a component, but Sunny is correct you can’t filter on components via Strapi methods, you will need to use the ORM directly or create a custom query
https://strapi.io/documentation/developer-docs/latest/concepts/queries.html#custom-queries