Skip to content

UPnP error 800 on AddURIToQueue for Spotify tracks #5

@leidig54

Description

@leidig54

Environment

  • sonoscli version: 0.1.1
  • Sonos firmware: 93.1-73290
  • Speaker: Kitchen (ZPS39)
  • Spotify service number: 2311 (confirmed via sonos smapi services)
  • SMAPI auth: completed successfully
  • SMAPI search: works fine

Steps to Reproduce

sonos play spotify "August 10 Khruangbin" --name "Kitchen"

Expected

Track plays on Kitchen speaker.

Actual

Error: upnp error 800 — retries 4 times, all fail.

Debug shows AddURIToQueue returns HTTP 500 with 347-byte error body for all URI prefix + service number combos.

Analysis

Looked at the source — spotifySonosMagic for tracks tries:

  • URI prefixes: x-sonos-spotify: and "" (empty)
  • Service nums: 2311, 3079

The DIDL metadata and URI format match the test expectations. Suspect the URI encoding or service token descriptor doesn't match what this firmware version expects.

Would be helpful if the debug logging printed the actual EnqueuedURI and EnqueuedURIMetaData being sent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions