Skip to content

Error parsing SystemFaction #1

@cbryanvest

Description

@cbryanvest

Error

File "/Library/Python/2.7/site-packages/elasticsearch/connection/base.py", line 131, in _raise_error
    raise HTTP_EXCEPTIONS.get(status_code, TransportError)(status_code, error_message, additional_info)
elasticsearch.exceptions.RequestError: RequestError(400, u'mapper_parsing_exception', u'object mapping for [message.SystemFaction] tried to parse field [SystemFaction] as object, but found a concrete value')

Cause

Elasticsearch mapping. This was dynamically mapped as an object but in this record it is not an object. This can happen because there are slight differences in the JSON schema for this data based on the version of the client that the user is running.

Fix

Check data at the client and verify it is an object. SystemFaction initially needs to be an object regardless of the data. Depending on system conditions their can be many objects under this key, it could also be a string or null.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions