Skip to content

Crash when fetching lyrics from Spotify API due to missing serverTime field #206

@XplosiveYTTV

Description

@XplosiveYTTV

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions