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

Radarr Post Error #563

Open
ScapraraGit opened this issue May 27, 2021 · 1 comment
Open

Radarr Post Error #563

ScapraraGit opened this issue May 27, 2021 · 1 comment

Comments

@ScapraraGit
Copy link

Hey guys-

Whenever a request is made, it looks like there are now incompatibilities with the latest version of Radarr.

The request is added to Plex Requests, but never gets to Radarr. When reviewing the Admin logs it looks like:
Post Error: failed [400] { "message": "BadRequest: Invalid request body. The JSON value could not be converted to System.Int32. Path: $.year | LineNumber: 0 | BytePositionInLine: 54.", "content": "Invalid request body. The JSON value could not be converted to System.Int32. Path: $.year | LineNumber: 0 | BytePositionInLine: 54." }

When looking at the Radarr logs:
`2021-05-27 09:26:58.2|Info|RssSyncService|Starting RSS Sync
2021-05-27 09:27:00.8|Info|DownloadDecisionMaker|Processing 100 releases
2021-05-27 09:27:01.2|Info|RssSyncService|RSS Sync Completed. Reports found: 100, Reports grabbed: 0
2021-05-27 09:40:44.7|Warn|RadarrErrorPipeline|API Error:
BadRequest: Invalid request body. The JSON value could not be converted to System.Int32. Path: $.year | LineNumber: 0 | BytePositionInLine: 54.

[v3.2.0.5048] Radarr.Http.REST.BadRequestException: BadRequest: Invalid request body. The JSON value could not be converted to System.Int32. Path: $.year | LineNumber: 0 | BytePositionInLine: 54.
at Radarr.Http.REST.RestModule1.ReadResourceFromRequest(Boolean skipValidate, Boolean skipSharedValidate) in D:\a\1\s\src\Radarr.Http\REST\RestModule.cs:line 253 at Radarr.Http.REST.RestModule1.<set_CreateResource>b__43_0(Object options) in D:\a\1\s\src\Radarr.Http\REST\RestModule.cs:line 206
at Nancy.NancyModule.<>c__DisplayClass38_01.<Post>b__0(Object args) at Nancy.NancyModule.<>c__DisplayClass40_01.b__0(Object args, CancellationToken ct)
at Nancy.Routing.Route1.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)

@beetus1actual
Copy link

beetus1actual commented May 29, 2021

I am also getting this same error when pressing the request button for a movie:

Radarr:
Version
3.2.1.5070

PlexRequests:
Version: v1.21.2

BadRequest: Invalid request body. The JSON value could not be converted to System.Int32. Path: $.year | LineNumber: 0 | BytePositionInLine: 48.

[v3.2.1.5070] Radarr.Http.REST.BadRequestException: BadRequest: Invalid request body. The JSON value could not be converted to System.Int32. Path: $.year | LineNumber: 0 | BytePositionInLine: 48.
   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_CreateResource>b__43_0(Object options) in D:\a\1\s\src\Radarr.Http\REST\RestModule.cs:line 206
   at Nancy.NancyModule.<>c__DisplayClass38_0`1.<Post>b__0(Object args)
   at Nancy.NancyModule.<>c__DisplayClass40_0`1.<Post>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)

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