Strapi provides you with multiple ways to filter results on relation’s fields deeply. This article will be covering the different ways to filter results using the following APIs:
long story short, the valid query has the form of
GET /api/books?filters[authors][hobbies][$contain]=“dance”
and not
GET /api/books?filters\[authors\][hobbies][$contain]=“dance”