Skip to content

No query error information is returned beyond 500 using elasticsearch.net and NEST #2328

@ghost

Description

NEST/Elasticsearch.Net version: 2.4.6

Elasticsearch version: 2.4.1

Description of the problem including expected versus actual behavior: Sending in a query with an error returns a 500 response with no additional information. When using a simple browser post the full detail is returned allowing the problem to be solved.

Steps to reproduce:

  1. Submit an aggregation date range query without providing the date field and only range data

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions