Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"error decoding response body" on Spotify sync #10

Open
SirScythe opened this issue Feb 9, 2025 · 0 comments
Open

"error decoding response body" on Spotify sync #10

SirScythe opened this issue Feb 9, 2025 · 0 comments

Comments

@SirScythe
Copy link

Hello, I'm getting the following error when trying to sync Spotify to YT Music:

Error: 
   0: error decoding response body: invalid type: null, expected a string at line 1 column 17651
   1: invalid type: null, expected a string at line 1 column 17651

Location:
   src/spotify/mod.rs:280

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
                                ⋮ 3 frames hidden ⋮                               
   4: sync_dis_boi::spotify::SpotifyApi::make_request_json::{{closure}}::h13e69347576bc6e9
      at <unknown source file>:<unknown line>
   5: sync_dis_boi::spotify::SpotifyApi::paginated_request::{{closure}}::h4d658115ccec0c30
      at <unknown source file>:<unknown line>
   6: <sync_dis_boi::spotify::SpotifyApi as sync_dis_boi::music_api::MusicApi>::get_playlist_songs::{{closure}}::h632e484f18923998
      at <unknown source file>:<unknown line>
   7: <futures_util::stream::futures_unordered::FuturesUnordered<Fut> as futures_core::stream::Stream>::poll_next::ha6f573a3586c6b10
      at <unknown source file>:<unknown line>
   8: <futures_util::stream::try_stream::try_collect::TryCollect<St,C> as core::future::future::Future>::poll::h184af2a817367013
      at <unknown source file>:<unknown line>
   9: <futures_util::future::try_join_all::TryJoinAll<F> as core::future::future::Future>::poll::h0d976787d1d0cada
      at <unknown source file>:<unknown line>
  10: sync_dis_boi::music_api::MusicApi::get_playlists_full::{{closure}}::hb11480eb4deac8aa
      at <unknown source file>:<unknown line>
  11: sync_dis_boi::sync::synchronize::{{closure}}::hc50fead427f2fb89
      at <unknown source file>:<unknown line>
  12: tokio::runtime::park::CachedParkThread::block_on::h78cf5253d1c48fb3
      at <unknown source file>:<unknown line>
  13: tokio::runtime::runtime::Runtime::block_on::h50b1e289248f8e57
      at <unknown source file>:<unknown line>
  14: sync_dis_boi::main::h0f1eb628e7808854
      at <unknown source file>:<unknown line>
  15: std::sys::backtrace::__rust_begin_short_backtrace::hff3e9e30d25ab30a
      at <unknown source file>:<unknown line>
  16: std::rt::lang_start::{{closure}}::h20c002c53b5cc66f
      at <unknown source file>:<unknown line>
  17: std::rt::lang_start_internal::h461ba53edb391b7d
      at <unknown source file>:<unknown line>
  18: main<unknown>
      at <unknown source file>:<unknown line>

During exeution there is also the following error between many rate limiting warnings:

ERROR sync_dis_boi::spotify::response: failed to parse song in response, skipping it: null track metadata
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant