[GH-ISSUE #278] "Web API Exception: 400 - Missing required field: ids" when using addMyTracks() #205

Closed
opened 2026-02-27 19:26:35 +03:00 by kerem · 3 comments
Owner

Originally created by @vdesabou on GitHub (Oct 2, 2024).
Original GitHub issue: https://github.com/jwilsson/spotify-web-api-php/issues/278

It seems there was a change in https://developer.spotify.com/documentation/web-api/reference/save-tracks-user because I get Web API Exception: 400 - Missing required field: ids when using addMyTracks

Anyone seeing the same ?

Originally created by @vdesabou on GitHub (Oct 2, 2024). Original GitHub issue: https://github.com/jwilsson/spotify-web-api-php/issues/278 It seems there was a change in https://developer.spotify.com/documentation/web-api/reference/save-tracks-user because I get `Web API Exception: 400 - Missing required field: ids` when using [addMyTracks](https://github.com/jwilsson/spotify-web-api-php/blob/482508df74e2b851be44d3c6ac7cbacae500ce7a/src/SpotifyWebAPI.php#L259) Anyone seeing the same ?
kerem 2026-02-27 19:26:35 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@corpta commented on GitHub (Oct 4, 2024):

I'm seeing the same thing happening.

<!-- gh-comment-id:2394022219 --> @corpta commented on GitHub (Oct 4, 2024): I'm seeing the same thing happening.
Author
Owner

@jwilsson commented on GitHub (Oct 7, 2024):

Hey!
Thanks for the report.

Looks indeed like this changed at some point, I'll take a closer look later this week.

<!-- gh-comment-id:2397647125 --> @jwilsson commented on GitHub (Oct 7, 2024): Hey! Thanks for the report. Looks indeed like this changed at some point, I'll take a closer look later this week.
Author
Owner

@jwilsson commented on GitHub (Oct 9, 2024):

This should be fixed in 6.1.1.

<!-- gh-comment-id:2403164042 --> @jwilsson commented on GitHub (Oct 9, 2024): This should be fixed in `6.1.1`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-web-api-php#205
No description provided.