Skip to content

Conversation

stelmukhov
Copy link
Member

The suppressed field should be of type List<TrinoErrorCause>, matching the definition in the Java version: FailureInfo.java#L33

Exception Message:

Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: {. Path 'error.failureInfo.suppressed', line 1, position 10820.
   at Newtonsoft.Json.JsonTextReader.ReadStringValue(ReadType readType)
   at Newtonsoft.Json.JsonTextReader.ReadAsString()
   at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)

@cla-bot cla-bot bot added the cla-signed label Feb 28, 2025
@stelmukhov stelmukhov requested a review from georgewfisher March 4, 2025 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants