Skip to content

Cannot save Sonarr and Radarr service #721

Done

Description

@xKeiro

Description

I downloaded the latest Windows release, I managed to set up Prowlarr and Jellyfin connections, but I can't seem to be able to save the Sonarr and Radarr configs, even though the connection tests are verified working.

Version

v3.72.40

Steps to Reproduce

  1. Go to Profile
  2. Click "Open >" on Radarr (or Sonarr) Services
  3. Fill in your details (I used "localhost" as Hostname)
  4. Test Your Connection
  5. Fill in the details that appear beneath (folders, quality setting)
  6. Try to Save the settings.

Screenshots

image

Logs

Platform

desktop

Database

SQLite (default)

Device

PC

Operating System

Windows 11

Browser

Vivaldi

Additional Context

No response

Search Existing Issues

  • Yes, I have searched existing issues.

Code of Conduct

  • I agree to follow SeerrNG's Code of Conduct

Activity

  1. added theissue type on Nov 22, 2026
  2. github-actions commented on Nov 22, 2026

    @github-actions

    Possible duplicate detected

    This issue may be a duplicate of the following (detected via semantic similarity + LLM review):

    A maintainer will review this. If this is not a duplicate, no action is needed.

  3. abendorg commented on Nov 25, 2026

    @abendorg

    Verified same issue with Radarr. Would not save server entry unless "4K Server" is checked. v3.72.40 docker. Receive is4k error in json output unless 4k is checked
    {
    "path": "/body/is4k",
    "message": "must have required property 'is4k'"
    }
    It then shows "No Radarr server to choose; SeerrNG uses its defaults." for 1080p, but for 4k it shows my 1080p profile (I don't have a 4k profile)

  4. divinely5066 commented on Nov 29, 2026

    @divinely5066

    Same root cause, broader scope and the cause, confirmed on v3.72.40 and on main @ 00b4b12.

    In Lumen, saving a new Lidarr service fails with "Could not save the Lidarr service." unless Default Server was clicked at least once (ticking, or ticking then unticking, works).

    Expected: an untouched checkbox saves as false.
    Actual: the key is omitted from the POST body and the API validator returns 400; Lumen shows only the generic message.

    Steps (Lidarr):

    1. Lumen → Administration → Lidarr Services → Open → Add Lidarr.
    2. Enter name, hostname, port, API key → Test Lidarr (succeeds).
    3. Pick profiles and root folder; leave Default Server untouched.
    4. Save Lidarr → "Could not save the Lidarr service."
    5. Tick Default Server → save succeeds.

    What the browser shows (4xx responses are not written to the server log):

    # browser Network tab; 4xx responses are not written to the server log
    POST /api/v1/settings/lidarr -> 400
    {"message":"request/body must have required property 'isDefault'", ...}

    Root cause (main @ 00b4b12): a new service starts with useSsl as its only flag (AdminServarr.tsx#L136-L144); Add presets isDefault: true only for Whisparr and Sportarr (#L1346-L1354); a checkbox writes its key only in onChange (#L722-L737). The Aurral and collector bodies default flags with ?? false (#L382-L402), but the branch for Radarr, Sonarr, Lidarr, Book and Whisparr spreads ...draft and adds only is4k: false for non-video providers (#L403-L465). RadarrSettings requires is4k and isDefault (seerr-api.yml#L3839-L3849); LidarrSettings and ReadarrSettings inherit it (#L7547-L7549, #L7566-L7568). run() replaces the 400 message with the generic text (#L315-L316).

    Missing on a new service (boxes untouched):

    • Lidarr, Book and Audiobook: isDefault
    • Radarr: is4k, isDefault
    • Sonarr: is4k, enableSeasonFolders, isDefault (schema)
    • Whisparr: tags, syncEnabled, preventSearch, tagRequests, overrideRule (schema); Lumen never sends overrideRule, so a new Whisparr always fails.

    Suggested fix: in that branch, right after ...draft,:

    isDefault: draft.isDefault ?? false,
    is4k: draft.is4k ?? false,
    syncEnabled: draft.syncEnabled ?? false,
    preventSearch: draft.preventSearch ?? false,
    tagRequests: draft.tagRequests ?? false,
    ...(isSonarr ? { enableSeasonFolders: draft.enableSeasonFolders ?? false } : {}),
    ...(provider === 'whisparr'
      ? { tags: draft.tags ?? [], overrideRule: draft.overrideRule ?? [] }
      : {}),

    and add overrideRule?: number[] to Service. Showing the ApiError message in run(), as diagnose() does, would expose errors like this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions