#1
Encounted a bug where I can't unmonitor a movie that has russian characters in the alternative title.

Example movie: Enchanted
Error message from Radarr:

Code: Select all

2021-4-12 13:16:34.7|Warn|RadarrErrorPipeline|API Error:
BadRequest: Invalid request body. The JSON value could not be converted to System.String. Path: $.alternativeTitles[8].title | LineNumber: 0 | BytePositionInLine: 1323.

[v3.1.0.4867] Radarr.Http.REST.BadRequestException: BadRequest: Invalid request body. The JSON value could not be converted to System.String. Path: $.alternativeTitles[8].title | LineNumber: 0 | BytePositionInLine: 1323.
   at Radarr.Http.REST.RestModule`1.ReadResourceFromRequest(Boolean skipValidate, Boolean skipSharedValidate) in D:\a\1\s\src\Radarr.Http\REST\RestModule.cs:line 253
   at Radarr.Http.REST.RestModule`1.<set_UpdateResource>b__46_1(Object options) in D:\a\1\s\src\Radarr.Http\REST\RestModule.cs:line 230
   at Nancy.NancyModule.<>c__DisplayClass44_0`1.<Put>b__0(Object args)
   at Nancy.NancyModule.<>c__DisplayClass46_0`1.<Put>b__0(Object args, CancellationToken ct)
   at Nancy.Routing.Route`1.Invoke(DynamicDictionary parameters, CancellationToken cancellationToken)
   at Nancy.Routing.DefaultRouteInvoker.Invoke(Route route, CancellationToken cancellationToken, DynamicDictionary parameters, NancyContext context)
   at Nancy.Routing.DefaultRequestDispatcher.Dispatch(NancyContext context, CancellationToken cancellationToken)
   at Nancy.NancyEngine.InvokeRequestLifeCycle(NancyContext context, CancellationToken cancellationToken, IPipelines pipelines)

As noted in the error message, this is alternativeTitles[8]:

Code: Select all

{
  "sourceType": "tmdb",
  "movieId": 983,
  "title": "Зачарованная",
  "sourceId": 0,
  "votes": 0,
  "voteCount": 0,
  "language": {
    "id": 11,
    "name": "Russian"
  },
  "id": 8089
}
Error message in app (this is for another movie that was bugging out): Image