elastic / elasticsearch-net

This strongly-typed, client library enables working with Elasticsearch. It is the official client maintained and supported by Elastic.
https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/index.html
Apache License 2.0
3.57k stars 1.15k forks source link

Another Elastic.Transport.UnexpectedTransportException with Ingest.GetPipelineAsync #8149

Open gpetrou opened 5 months ago

gpetrou commented 5 months ago

Elastic.Clients.Elasticsearch version: 8.13.8

Elasticsearch version: 8.12

.NET runtime version: 8.0

Operating system version:

Description of the problem including expected versus actual behavior: This is similar to https://github.com/elastic/elasticsearch-net/issues/8083. Try to use elasticsearchClient.Ingest.GetPipelineAsync(). There is an exception. This problem existed before the new generator.

Elastic.Transport.UnexpectedTransportException : The JSON value could not be converted to System.Collections.Generic.ICollection`1[System.Object]. Path: $.value | LineNumber: 3 | BytePositionInLine: 153.
---- System.Text.Json.JsonException : The JSON value could not be converted to System.Collections.Generic.ICollection`1[System.Object]. Path: $.value | LineNumber: 3 | BytePositionInLine: 153.

Steps to reproduce: 1. 2. 3.

Expected behavior A clear and concise description of what you expected to happen.

Provide ConnectionSettings (if relevant):

Provide DebugInformation (if relevant):

flobernd commented 5 months ago

Hi @gpetrou, thanks for reporting. I'll check on Monday.

flobernd commented 5 months ago

This seems to be the same issue as here: https://github.com/elastic/elasticsearch-java/issues/667