ElasticSearch Test queries page at IP:18381: The query is invalid

Hi, im getting this error when testing queries in the Discovery Service at my-ip:18381

Is this supposed to happen? I´m not having error in my open edx search but i wanted to check if this is a normal behaviour:

Maybe you found your answer but for all newcomers to this QA,first check the API calls . in my case it was happened because I didn’t login as superuser to discovery service. to do that follow these:

  • tutor:
    if you use tutor for deploying the opened just exec in the discovery container and create a superuser
  • devstack:
    if so, follow the opendx discovery docs
    After creating the user,just login to admin page and rerun your queries.hope the best