Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gettting json parse error at line0pos0 while sending email #210

Open
madhuadbanker opened this issue Nov 14, 2018 · 1 comment
Open

Gettting json parse error at line0pos0 while sending email #210

madhuadbanker opened this issue Nov 14, 2018 · 1 comment

Comments

@madhuadbanker
Copy link

In continuation to issue#169
I am using 3.1.0 mandril version and i am still facing this issue. Can you please suggest me how to handle this?

My exception:
Mandrill.Utilities.MandrillSerializationException: Failed to deserialize error content received from path: messages/send.json. ---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonTextReader.Read()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at Mandrill.MandrillApi.ParseResponseContent[T](String path, RequestBase data, String content, HttpResponseMessage response)
--- End of inner exception stack trace ---
at Mandrill.MandrillApi.ParseResponseContent[T](String path, RequestBase data, String content, HttpResponseMessage response)
at Mandrill.MandrillApi.d__11`1.MoveNext()

Originally posted by @madhuadbanker in https://github.com/shawnmclean/Mandrill-dotnet/issue_comments#issuecomment-438496104

@Elviszip
Copy link

Elviszip commented Sep 1, 2021

still and issue ☝️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants