You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to request a TV show in Ombi towards Medusa, an exception is thrown due to a JSON deserialization issue. It appears that the system expects a JSON array but receives a JSON object instead, when requesting a TV show from the mobile app, an error message appears stating that the request could not be added but will keep retrying.
Steps to reproduce the issue:
Open Ombi and attempt to request a TV show
The series is added correctly, but it throws this error.
Checking the logs reveals a JSON deserialization exception.
Request Error on App mobile
Hello! The user has requested Tell Me Lies but it could not be added. This has been added into the requests queue and will keep retrying.
The logs indicate a JSON deserialization issue when handling the request.
Ombi Version
4.44.1
Medusa Version
1.0.22
What platform(s) does this occur on?
Windows
What database are you using?
SQLite (Default)
Relevant log output
[ERR] Exception thrown when sending a movie to DVR app, added to the request queue
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type'Ombi.Api.SickRage.Models.Data[]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path 'data', line 1, position 11.
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
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 Ombi.Api.Api.Request[T](Request request, CancellationToken cancellationToken) in /home/runner/work/Ombi/Ombi/src/Ombi.Api/Api.cs:line 81
at Ombi.Api.SickRage.SickRageApi.SetEpisodeStatus(String apiKey, String baseUrl, Int32 tvdbid, String status, Int32 season, Int32 episode) in /home/runner/work/Ombi/Ombi/src/Ombi.Api.SickRage/SickRageApi.cs:line 107
at Ombi.Core.Senders.TvSender.SendToSickRage(ChildRequests model, SickRageSettings settings, String qualityId) in /home/runner/work/Ombi/Ombi/src/Ombi.Core/Senders/TvSender.cs:line 467
at Ombi.Core.Senders.TvSender.Send(ChildRequests model) in /home/runner/work/Ombi/Ombi/src/Ombi.Core/Senders/TvSender.cs:line 66
The text was updated successfully, but these errors were encountered:
Summary
When trying to request a TV show in Ombi towards Medusa, an exception is thrown due to a JSON deserialization issue. It appears that the system expects a JSON array but receives a JSON object instead, when requesting a TV show from the mobile app, an error message appears stating that the request could not be added but will keep retrying.
Steps to reproduce the issue:
Open Ombi and attempt to request a TV show
The series is added correctly, but it throws this error.
Checking the logs reveals a JSON deserialization exception.
Request Error on App mobile
Hello! The user has requested Tell Me Lies but it could not be added. This has been added into the requests queue and will keep retrying.
The logs indicate a JSON deserialization issue when handling the request.
Ombi Version
4.44.1
Medusa Version
1.0.22
What platform(s) does this occur on?
Windows
What database are you using?
SQLite (Default)
Relevant log output
The text was updated successfully, but these errors were encountered: