[GH-ISSUE #206] Crash when fetching lyrics from Spotify API due to missing serverTime field #152

Open
opened 2026-02-27 19:26:32 +03:00 by kerem · 1 comment
Owner

Originally created by @XplosiveYTTV on GitHub (Dec 30, 2025).
Original GitHub issue: https://github.com/Lambada10/SongSync/issues/206

Describe the bug
When fetching song lyrics using the Spotify API in SongSync, the app consistently crashes due to a deserialization error.
The error indicates that the required field serverTime is missing from the Spotify.ServerTimeResponse, which causes the app to fail while processing synced lyrics.
This issue completely blocks the lyrics-fetching flow when Spotify is selected as the provider.
Note: If possible, please provide responses in Spanish, as I do not speak English fluently.
To Reproduce
Steps to reproduce the behavior:
Open SongSync
Select Spotify as the lyrics provider
Search for the song “DEPRESIXN” by Trvsh.exe
Attempt to load the lyrics
The app throws an error indicating that the serverTime field is missing
Expected behavior
The app should:
Properly handle the Spotify API response
Display the song lyrics if available
Or gracefully show a controlled error message without crashing
Screenshots
Attached screenshot shows the error dialog and stack trace with the message

Image

Smartphone
Device: Samsung Galaxy A06
OS: Android 16
App version: 4.3.3
Additional context
The issue happens every time
Occurs on both Wi-Fi and mobile data
The problem is specific to the Spotify lyrics provider
Other lyrics APIs work correctly
The crash likely originates from a missing or changed field in the Spotify API response that is not being validated before deserialization

Originally created by @XplosiveYTTV on GitHub (Dec 30, 2025). Original GitHub issue: https://github.com/Lambada10/SongSync/issues/206 Describe the bug When fetching song lyrics using the Spotify API in SongSync, the app consistently crashes due to a deserialization error. The error indicates that the required field serverTime is missing from the Spotify.ServerTimeResponse, which causes the app to fail while processing synced lyrics. This issue completely blocks the lyrics-fetching flow when Spotify is selected as the provider. Note: If possible, please provide responses in Spanish, as I do not speak English fluently. To Reproduce Steps to reproduce the behavior: Open SongSync Select Spotify as the lyrics provider Search for the song “DEPRESIXN” by Trvsh.exe Attempt to load the lyrics The app throws an error indicating that the serverTime field is missing Expected behavior The app should: Properly handle the Spotify API response Display the song lyrics if available Or gracefully show a controlled error message without crashing Screenshots Attached screenshot shows the error dialog and stack trace with the message ![Image](https://github.com/user-attachments/assets/df1bf976-fcd4-4ec1-9b8b-4ee000ec74ff) Smartphone Device: Samsung Galaxy A06 OS: Android 16 App version: 4.3.3 Additional context The issue happens every time Occurs on both Wi-Fi and mobile data The problem is specific to the Spotify lyrics provider Other lyrics APIs work correctly The crash likely originates from a missing or changed field in the Spotify API response that is not being validated before deserialization
Author
Owner

@Lost-Entrepreneur439 commented on GitHub (Jan 4, 2026):

#198 this has already been fixed

<!-- gh-comment-id:3708231485 --> @Lost-Entrepreneur439 commented on GitHub (Jan 4, 2026): #198 this has already been fixed
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/SongSync#152
No description provided.