[GH-ISSUE #1661] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") } #759

Closed
opened 2026-02-27 19:32:19 +03:00 by kerem · 4 comments
Owner

Originally created by @Semmu on GitHub (Dec 15, 2025).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/1661

Description

Started seeing these new errors in librespot's output, seems like some kind of backend change again, and Spotify didn't provide the audio data for some requested tacks? librespot itself did not stop, just skipped a lot of songs.

[2025-12-15T14:41:15Z INFO  librespot_playback::player] Loading <Tiden Inne> with Spotify URI <spotify:track:4HG7nuOz7hHvHUw81fnNo5>
[2025-12-15T14:41:15Z INFO  librespot_playback::player] <Tiden Inne> (487441 ms) loaded
[2025-12-15T14:49:23Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") }
[2025-12-15T14:49:23Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") }
[2025-12-15T14:49:24Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") }
[2025-12-15T14:49:24Z INFO  librespot_playback::player] Loading <Exit Music (For a Film)> with Spotify URI <spotify:track:2fp70dCeAE5WvnC2en1j4b>
[2025-12-15T14:49:25Z INFO  librespot_playback::player] <Exit Music (For a Film)> (266706 ms) loaded
[2025-12-15T14:53:49Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") }
[2025-12-15T14:53:49Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") }
[2025-12-15T14:53:50Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") }
[2025-12-15T14:53:50Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") }
[2025-12-15T14:53:50Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") }
[2025-12-15T14:53:51Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") }
[2025-12-15T14:53:51Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") }
[2025-12-15T14:53:51Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") }
[2025-12-15T14:53:51Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") }
[2025-12-15T14:53:51Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") }
[2025-12-15T14:53:53Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") }
[2025-12-15T14:53:53Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") }
[2025-12-15T14:53:53Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") }
[2025-12-15T14:53:53Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") }
[2025-12-15T14:53:54Z WARN  librespot_playback::player] spotify:track:<1VGzxJnVQND7Cg5H5wGj14> is not available
[2025-12-15T14:53:54Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") }
[2025-12-15T14:53:54Z INFO  librespot_playback::player] Loading <Be Still and Let the Night Pass Over You> with Spotify URI <spotify:track:04QVlmsD5gH5oZkj8ZHTN8>
[2025-12-15T14:53:55Z INFO  librespot_playback::player] <Be Still and Let the Night Pass Over You> (313587 ms) loaded

Version

0.8.0

How to reproduce

I'm just playing a playlist of mine which has been working fine before.

Log

Don't have verbose logs yet, but modified librespot start command to include it and I will provide it next time it happens. But the issue itself is hard to reproduce.

Host (what you are running librespot on):

  • OS: DietPI Linux szobakocka 6.6.113-current-odroidxu4 #1 SMP PREEMPT Mon Dec 30 15:59:39 UTC 2024 armv7l GNU/Linux
  • Platform: ODroid XU4

Additional information

I wonder if this is going to be a frequent problem from now on or this is just a temporary "outage" on Spotify's side?...

Originally created by @Semmu on GitHub (Dec 15, 2025). Original GitHub issue: https://github.com/librespot-org/librespot/issues/1661 ### Description Started seeing these new errors in librespot's output, seems like some kind of backend change again, and Spotify didn't provide the audio data for some requested tacks? librespot itself did not stop, just skipped _a lot_ of songs. ``` [2025-12-15T14:41:15Z INFO librespot_playback::player] Loading <Tiden Inne> with Spotify URI <spotify:track:4HG7nuOz7hHvHUw81fnNo5> [2025-12-15T14:41:15Z INFO librespot_playback::player] <Tiden Inne> (487441 ms) loaded [2025-12-15T14:49:23Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") } [2025-12-15T14:49:23Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") } [2025-12-15T14:49:24Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") } [2025-12-15T14:49:24Z INFO librespot_playback::player] Loading <Exit Music (For a Film)> with Spotify URI <spotify:track:2fp70dCeAE5WvnC2en1j4b> [2025-12-15T14:49:25Z INFO librespot_playback::player] <Exit Music (For a Film)> (266706 ms) loaded [2025-12-15T14:53:49Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") } [2025-12-15T14:53:49Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") } [2025-12-15T14:53:50Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") } [2025-12-15T14:53:50Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") } [2025-12-15T14:53:50Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") } [2025-12-15T14:53:51Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") } [2025-12-15T14:53:51Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") } [2025-12-15T14:53:51Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") } [2025-12-15T14:53:51Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") } [2025-12-15T14:53:51Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") } [2025-12-15T14:53:53Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") } [2025-12-15T14:53:53Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") } [2025-12-15T14:53:53Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") } [2025-12-15T14:53:53Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") } [2025-12-15T14:53:54Z WARN librespot_playback::player] spotify:track:<1VGzxJnVQND7Cg5H5wGj14> is not available [2025-12-15T14:53:54Z ERROR librespot_playback::player] Unable to load audio item: Error { kind: FailedPrecondition, error: ExpectedEntry("data") } [2025-12-15T14:53:54Z INFO librespot_playback::player] Loading <Be Still and Let the Night Pass Over You> with Spotify URI <spotify:track:04QVlmsD5gH5oZkj8ZHTN8> [2025-12-15T14:53:55Z INFO librespot_playback::player] <Be Still and Let the Night Pass Over You> (313587 ms) loaded ``` ### Version 0.8.0 ### How to reproduce I'm just playing a playlist of mine which has been working fine before. ### Log Don't have verbose logs yet, but modified librespot start command to include it and I will provide it next time it happens. But the issue itself is hard to reproduce. ### Host (what you are running `librespot` on): - OS: DietPI `Linux szobakocka 6.6.113-current-odroidxu4 #1 SMP PREEMPT Mon Dec 30 15:59:39 UTC 2024 armv7l GNU/Linux` - Platform: ODroid XU4 ### Additional information I wonder if this is going to be a frequent problem from now on or this is just a temporary "outage" on Spotify's side?...
kerem 2026-02-27 19:32:19 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@kingosticks commented on GitHub (Dec 15, 2025):

Can you add some logging at get_metadata (https://github.com/librespot-org/librespot/blob/dev/core/src/spclient.rs#L595) to print the response before we try and get the info we want from it ?

<!-- gh-comment-id:3656303128 --> @kingosticks commented on GitHub (Dec 15, 2025): Can you add some logging at `get_metadata` (https://github.com/librespot-org/librespot/blob/dev/core/src/spclient.rs#L595) to print the response before we try and get the info we want from it ?
Author
Owner

@Semmu commented on GitHub (Dec 15, 2025):

I'm gonna be honest with you, I've never written Rust code in my life 😅

<!-- gh-comment-id:3656388150 --> @Semmu commented on GitHub (Dec 15, 2025): I'm gonna be honest with you, I've never written Rust code in my life 😅
Author
Owner

@kingosticks commented on GitHub (Dec 15, 2025):

Are you still seeing this? I heard reports elsewhere of a temporary issue earlier that's now resolved itself.

<!-- gh-comment-id:3658083109 --> @kingosticks commented on GitHub (Dec 15, 2025): Are you still seeing this? I heard reports elsewhere of a temporary issue earlier that's now resolved itself.
Author
Owner

@Semmu commented on GitHub (Dec 16, 2025):

No it didn't happen for a while, so it may have been just a temporary outage indeed. I guess we can close this.

<!-- gh-comment-id:3661766009 --> @Semmu commented on GitHub (Dec 16, 2025): No it didn't happen for a while, so it may have been just a temporary outage indeed. I guess we can close this.
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/librespot#759
No description provided.