Please format your code using </>
icon as explained in this guide. It will make your post more readable.
Or use markdown style like:
```
CODE
```
May be share the full logs?
BTW why not using other QueryBuilders? Like the multimatch one?
Also I think that if you use wrap, you should put in it only what is inside the "query" part of your json