Skip to content
This repository was archived by the owner on Jul 4, 2020. It is now read-only.
This repository was archived by the owner on Jul 4, 2020. It is now read-only.

Internal server error when using PUT /v1/me/player/pause or play #1594

Description

@Oldes

Issue found on July 1st 2020.

Endpoint(s):

  • PUT /v1/me/player/pause
  • PUT /v1/me/player/play

Scope(s):

  • user-modify-playback-state

Steps to reproduce:

  1. goto https://developer.spotify.com/console/put-pause
  2. request token and play some music in browser
  3. try the demo

Expected behaviour:

Music stops or resumes.

Actual behaviour:

{
  "error": {
    "status": 500,
    "message": "Server error."
  }
}

Sometimes the response is:

{
  "error": {
    "status": 404,
    "message": "Player command failed: No active device found",
    "reason": "NO_ACTIVE_DEVICE"
  }
}

In such a case I must pause and resume the music in browser manually, to get it working.

Also when using the curl example how it is on the console page from command line (with valid token), the response is Error 411 (Length Required). The reason is, that it seems to require Content-Length in the header even when there are no data send.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions