Skip to content

GetIndexRequest fails on dynamic_templates serialization  #7221

Closed
@Mpdreamz

Description

@Mpdreamz
The converter 'Elastic.Clients.Elasticsearch.Serialization.UnionConverter+UnionConverterInner`2[System.Collections.Generic.IDictionary`2[System.String,Elastic.Clients.Elasticsearch.Mapping.DynamicTemplate],System.Collections.Generic.ICollection`1[System.Collections.Generic.IDictionary`2[System.String,Elastic.Clients.Elasticsearch.Mapping.DynamicTemplate]]]' read too much or not enough. Path: $['catalog-data-2023.01.31'].mappings.dynamic_templates | LineNumber: 4 | BytePositionInLine: 29.

This happens when I do a GetIndexRequest that returns the following json:

https://gist.github.com/Mpdreamz/ab38378c8be875b1821ee227febe72f1

Metadata

Metadata

Assignees

No one assigned

    Labels

    8.xRelates to a 8.x client version

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions