Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Seek endpoint reports missing parameter, even though its present.

Solved!

Seek endpoint reports missing parameter, even though its present.

Calling the https://api.spotify.com/v1/me/player/seek endpoint consistently returns 400 Bad Request, as the parameter `position_ms` is supposedly missing.

 

However, the parameter is in place in the request. This happens regardless of value set for the parameter (0, positive integer, etc).

 

Payload Body:

 

{"position_ms":142848}

 

Response:

 

{
  "error" : {
    "status" : 400,
    "message" : "Required parameter position_ms missing"

  }
} 
 

Screenshot 2023-02-11 at 13.45.04.png

Screenshot 2023-02-11 at 13.45.38.png

Screenshot 2023-02-11 at 13.46.17.png

 

Any way to resolve this? Help much appreciated, thank you.

Reply

Accepted Solutions
Marked as solution

position_ms should be a parameter, for example https://api.spotify.com/v1/me/player/seek?position_ms=500

XimzendSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

View solution in original post

2 Replies
Marked as solution

position_ms should be a parameter, for example https://api.spotify.com/v1/me/player/seek?position_ms=500

XimzendSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

Huh, that is very strange, having it in the body worked up until two days ago. That's also the format for the /play endpoint, so a little confusing there.

 

Works now, thanks for your help!

Suggested posts