Skip to content

Elastic.Transport.UnexpectedTransportException with Indices.GetAsync #8180

Closed
@feherbbj

Description

@feherbbj

Elastic.Clients.Elasticsearch version: 8.12.0

Elasticsearch version: 8.12.2

.NET runtime version: 8.0

Operating system version:

Description of the problem including expected versus actual behavior:
Try to use await client.Indices.GetAsync(....) and it throws
Elastic.Transport.UnexpectedTransportException : The JSON value could not be converted to System.Collections.Generic.ICollection`1[System.String]. Path: $.relations.entry | LineNumber: 0 | BytePositionInLine:

I have an index with a relation:
"mappings": {
"properties": {
.......
"parentChild": {
"type": "join",
"relations": {
"entry": "term"
}
},
.........

Expected behavior
Previously this does not throw any exception and based on the official web site, it is a valid relation still

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions