Skip to main content

FeedFMError

FeedFMError is the default class that returns all errors in Android SDK. This page lists all the Errors you may encounter in the SDK.

API Errors

ErrorCodeMessageHTTP Status
NO_SESSION0Sorry, No Session is available for this client401
INVALID_CREDENTIALS5Invalid credentials. Credentials are missing or invalid.401
FORBIDDEN6Forbidden. Access forbidden to the requested resource.401
SKIP_LIMIT_REACHED7User has reached their skip limit and may not skip this song.200
END_OF_PLAYLIST9End of available music. There is no more music that can be played from this station.200
CANT_SKIP_NO_PLAY12This play is not currently being played so we can't determine skippability.200
INVALID_PARAMETER15Invalid parameter value. See error message for details.400
MISSING_PARAMETER16Missing a required parameter. See error message for details.400
NO_SUCH_OBJECT17No such object. The requested resource couldn't be found.404
UNHANDLED_INTERNAL_ERROR18Unhandled internal error.500
NOT_IN_VALID_LOCATION19The client's IP address does not map to any valid location and so cannot play music.403
PLAYBACK_ALREADY_STARTED20Playback of this song has already started.403
PLAYBACK_COMPLETE21This play has already completed playback403
THROTTLED22You have exceeded normal request limits and are being throttled429
NOT_ON_DEMAND23This station is not on-demand403
FORMAT_UNAVAILABLE24Unable to find a version of this file that meets format and bitrate constraints200
NO_CURRENT_PLAY25This client has not active play history403
EXPIRED_URL26This URL has expired403

SDK Errors

ErrorCodeMessage
UNAVAILABLE900trying to prepare/play before initialization
NO_NETWORK1000Network call failed
UNKNOWN1001Unknown Error
INVALID_CREDENTIALS1002Credentials are not valid
INVALID_SERVER_RESPONSE1003Invalid server response
CANCELLED1004This Api request was cancelled as the session was reset
TUNE_UNKNOWN1010Error preparing audio stream
EXOPLAYER_IO_EXCEPTION1011Error Tuning MediaPlayer
UNABLE_TO_OBTAIN_AUDIO_FOCUS1012Unable to obtain audio focus
RETROFIT_UNKNOWN1030Unknown Retrofit Error
RETROFIT_NULL_REQ_SUCCESS1031Retrofit error response is null - Request Response was positive
RETROFIT_NULL_REQ_FAIL1032Retrofit error response is null - Request Response was negative
RESPONSE_NOT_2001033Request returned non 2xx response
RUNTIME_ERROR1033RuntimeException