I want to fetch all media present in media container using a flexible search query. I tried with this query
I ended up with this error
Exception message : cannot search unknown field 'TableField(name='target',langPK='null',type=MediaContainer2MediaRel)' within type MediaContainer2MediaRel unless you disable checking , infoMap=TypeInfoMap for type = 8796093448274 code = MediaContainer2MediaRel superType = 8796093055058 itemTable = null ....
Please provide a solution for how to query to fetch all medias present in a media container.