Skip to content

Some indexed tracks are failing to validate in production #82

@mutantmonkey

Description

@mutantmonkey

A DJ reported that some indexed tracks are failing to validate. Investigation revealed that certain track URLs are triggering elasticsearch.exceptions.RequestError (see example URLs on Slack):

elasticsearch.exceptions.RequestError: RequestError(400, 'search_phase_execution_exception', 'Failed to parse query [filename redacted]]'

We should do the following:

  • Catch Elasticsearch RequestError exceptions so that validation doesn't fail just because of Elasticsearch errors
  • Figure out why these URLs are causing the exception and fix the underlying issue.

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