PandoraApiErrorCode enum

Inheritance
Annotations
  • @JsonEnum(alwaysCreate: true, valueField: 'value')

Constructors

PandoraApiErrorCode(int value, String description)
const

Values

unknown → const PandoraApiErrorCode

An unknown API error code.

This is unique to the library, and not defined by Pandora. It is used when the library encounters an unknown error code.

const PandoraApiErrorCode(-1000, 'UNKNOWN')
internal → const PandoraApiErrorCode
const PandoraApiErrorCode(0, 'INTERNAL')
maintenanceMode → const PandoraApiErrorCode
const PandoraApiErrorCode(1, 'MAINTENANCE_MODE')
urlParamMissingMethod → const PandoraApiErrorCode
const PandoraApiErrorCode(2, 'URL_PARAM_MISSING_METHOD')
urlParamMissingAuthToken → const PandoraApiErrorCode
const PandoraApiErrorCode(3, 'URL_PARAM_MISSING_AUTH_TOKEN')
urlParamMissingPartnerId → const PandoraApiErrorCode
const PandoraApiErrorCode(4, 'URL_PARAM_MISSING_PARTNER_ID')
urlParamMissingUserId → const PandoraApiErrorCode
const PandoraApiErrorCode(5, 'URL_PARAM_MISSING_USER_ID')
secureProtocolRequired → const PandoraApiErrorCode
const PandoraApiErrorCode(6, 'SECURE_PROTOCOL_REQUIRED')
certificateRequired → const PandoraApiErrorCode
const PandoraApiErrorCode(7, 'CERTIFICATE_REQUIRED')
parameterTypeMismatch → const PandoraApiErrorCode
const PandoraApiErrorCode(8, 'PARAMETER_TYPE_MISMATCH')
parameterMissing → const PandoraApiErrorCode
const PandoraApiErrorCode(9, 'PARAMETER_MISSING')
parameterValueInvalid → const PandoraApiErrorCode
const PandoraApiErrorCode(10, 'PARAMETER_VALUE_INVALID')
apiVersionNotSupported → const PandoraApiErrorCode
const PandoraApiErrorCode(11, 'API_VERSION_NOT_SUPPORTED')
licensingRestrictions → const PandoraApiErrorCode
const PandoraApiErrorCode(12, 'LICENSING_RESTRICTIONS')
timeOutOfSync → const PandoraApiErrorCode
const PandoraApiErrorCode(13, 'TIME_OUT_OF_SYNC')
methodNotFound → const PandoraApiErrorCode
const PandoraApiErrorCode(14, 'METHOD_NOT_FOUND')
readOnlyMode → const PandoraApiErrorCode
const PandoraApiErrorCode(1000, 'READ_ONLY_MODE')
invalidAuthToken → const PandoraApiErrorCode
const PandoraApiErrorCode(1001, 'INVALID_AUTH_TOKEN')
invalidLogin → const PandoraApiErrorCode
const PandoraApiErrorCode(1002, 'INVALID_LOGIN')
userNotActive → const PandoraApiErrorCode
const PandoraApiErrorCode(1003, 'USER_NOT_ACTIVE')
userNotAuthorized → const PandoraApiErrorCode
const PandoraApiErrorCode(1004, 'USER_NOT_AUTHORIZED')
maxStationsReached → const PandoraApiErrorCode
const PandoraApiErrorCode(1005, 'MAX_STATIONS_REACHED')
stationDoesNotExist → const PandoraApiErrorCode
const PandoraApiErrorCode(1006, 'STATION_DOES_NOT_EXIST')
complimentaryPeriodAlreadyInUse → const PandoraApiErrorCode
const PandoraApiErrorCode(1007, 'COMPLIMENTARY_PERIOD_ALREADY_IN_USE')
callNotAllowed → const PandoraApiErrorCode
const PandoraApiErrorCode(1008, 'CALL_NOT_ALLOWED')
deviceNotFound → const PandoraApiErrorCode
const PandoraApiErrorCode(1009, 'DEVICE_NOT_FOUND')
partnerNotAuthorized → const PandoraApiErrorCode
const PandoraApiErrorCode(1010, 'PARTNER_NOT_AUTHORIZED')
invalidUsername → const PandoraApiErrorCode
const PandoraApiErrorCode(1011, 'INVALID_USERNAME')
invalidPassword → const PandoraApiErrorCode
const PandoraApiErrorCode(1012, 'INVALID_PASSWORD')
usernameAlreadyExists → const PandoraApiErrorCode
const PandoraApiErrorCode(1013, 'USERNAME_ALREADY_EXISTS')
deviceAlreadyAssociatedToAccount → const PandoraApiErrorCode
const PandoraApiErrorCode(1014, 'DEVICE_ALREADY_ASSOCIATED_TO_ACCOUNT')
upgradeDeviceModelInvalid → const PandoraApiErrorCode
const PandoraApiErrorCode(1015, 'UPGRADE_DEVICE_MODEL_INVALID')
invalidUsername2 → const PandoraApiErrorCode
const PandoraApiErrorCode(1016, 'INVALID_USERNAME')
explicitPinIncorrect → const PandoraApiErrorCode
const PandoraApiErrorCode(1018, 'EXPLICIT_PIN_INCORRECT')
explicitPinMalformed → const PandoraApiErrorCode
const PandoraApiErrorCode(1020, 'EXPLICIT_PIN_MALFORMED')
deviceModelInvalid → const PandoraApiErrorCode
const PandoraApiErrorCode(1023, 'DEVICE_MODEL_INVALID')
zipCodeInvalid → const PandoraApiErrorCode
const PandoraApiErrorCode(1024, 'ZIP_CODE_INVALID')
birthYearInvalid → const PandoraApiErrorCode
const PandoraApiErrorCode(1025, 'BIRTH_YEAR_INVALID')
birthYearTooYoung → const PandoraApiErrorCode
const PandoraApiErrorCode(1026, 'BIRTH_YEAR_TOO_YOUNG')
invalidGender → const PandoraApiErrorCode
const PandoraApiErrorCode(1027, 'INVALID_GENDER')
invalidCountryCode → const PandoraApiErrorCode
const PandoraApiErrorCode(1028, 'INVALID_COUNTRY_CODE')
invalidEmailLogin → const PandoraApiErrorCode
const PandoraApiErrorCode(1029, 'INVALID_EMAIL_LOGIN')
deviceDisabled → const PandoraApiErrorCode
const PandoraApiErrorCode(1034, 'DEVICE_DISABLED')
dailyTrialLimitReached → const PandoraApiErrorCode
const PandoraApiErrorCode(1035, 'DAILY_TRIAL_LIMIT_REACHED')
invalidSponsor → const PandoraApiErrorCode
const PandoraApiErrorCode(1036, 'INVALID_SPONSOR')
userAlreadyUsedTrial → const PandoraApiErrorCode
const PandoraApiErrorCode(1037, 'USER_ALREADY_USED_TRIAL')
contentHasExpired → const PandoraApiErrorCode
const PandoraApiErrorCode(1038, 'CONTENT_HAS_EXPIRED')
endOfPlaylist → const PandoraApiErrorCode
const PandoraApiErrorCode(1039, 'END_OF_PLAYLIST')
apiUnsupportedFunctionality → const PandoraApiErrorCode
const PandoraApiErrorCode(1040, 'API_UNSUPPORTED_FUNCTIONALITY')
commentTooLong → const PandoraApiErrorCode
const PandoraApiErrorCode(1041, 'COMMENT_TOO_LONG')
invalidFacebookAccountAssociation → const PandoraApiErrorCode
const PandoraApiErrorCode(1042, 'INVALID_FACEBOOK_ACCOUNT_ASSOCIATION')
userAlreadyInValueExchange → const PandoraApiErrorCode
const PandoraApiErrorCode(1043, 'USER_ALREADY_IN_VALUE_EXCHANGE')
valueExchangeBadOfferName → const PandoraApiErrorCode
const PandoraApiErrorCode(1044, 'VALUE_EXCHANGE_BAD_OFFER_NAME')
friendLimitExceeded → const PandoraApiErrorCode
const PandoraApiErrorCode(1045, 'FRIEND_LIMIT_EXCEEDED')
ampNoArtistPermissions → const PandoraApiErrorCode
const PandoraApiErrorCode(1050, 'AMP_NO_ARTIST_PERMISSIONS')
ampNotOwner → const PandoraApiErrorCode
const PandoraApiErrorCode(1051, 'AMP_NOT_OWNER')
ampInvalidInput → const PandoraApiErrorCode
const PandoraApiErrorCode(1052, 'AMP_INVALID_INPUT')
ampFeatureDisabled → const PandoraApiErrorCode
const PandoraApiErrorCode(1053, 'AMP_FEATURE_DISABLED')
ampNoAvailableInventory → const PandoraApiErrorCode
const PandoraApiErrorCode(1054, 'AMP_NO_AVAILABLE_INVENTORY')
ampCtaUrlInvalid → const PandoraApiErrorCode
const PandoraApiErrorCode(1055, 'AMP_CTA_URL_INVALID')
ampCtaBlacklisted → const PandoraApiErrorCode
const PandoraApiErrorCode(1056, 'AMP_CTA_BLACKLISTED')
invalidPasswordResetToken → const PandoraApiErrorCode
const PandoraApiErrorCode(1057, 'INVALID_PASSWORD_RESET_TOKEN')
wrongPassword → const PandoraApiErrorCode
const PandoraApiErrorCode(1058, 'WRONG_PASSWORD')
trackReplayUnavailable → const PandoraApiErrorCode
const PandoraApiErrorCode(1065, 'TRACK_REPLAY_UNAVAILABLE')
listenerIneligilbleToReplay → const PandoraApiErrorCode
const PandoraApiErrorCode(1066, 'LISTENER_INELIGILBLE_TO_REPLAY')
flexOnDemandRightUnavailable → const PandoraApiErrorCode
const PandoraApiErrorCode(1069, 'FLEX_ON_DEMAND_RIGHT_UNAVAILABLE')
valueExchangeException → const PandoraApiErrorCode
const PandoraApiErrorCode(1070, 'VALUE_EXCHANGE_EXCEPTION')
flexInsufficientRewardReplays → const PandoraApiErrorCode
const PandoraApiErrorCode(1071, 'FLEX_INSUFFICIENT_REWARD_REPLAYS')
authExchangeDisabled → const PandoraApiErrorCode
const PandoraApiErrorCode(1072, 'AUTH_EXCHANGE_DISABLED')
authExchangeFailed → const PandoraApiErrorCode
const PandoraApiErrorCode(1073, 'AUTH_EXCHANGE_FAILED')
authExchangeLoginAccountMismatched → const PandoraApiErrorCode
const PandoraApiErrorCode(1074, 'AUTH_EXCHANGE_LOGIN_ACCOUNT_MISMATCHED')
authExchangeAccesstokenDisabled → const PandoraApiErrorCode
const PandoraApiErrorCode(1075, 'AUTH_EXCHANGE_ACCESSTOKEN_DISABLED')
authExchangeAccesstokenFailed → const PandoraApiErrorCode
const PandoraApiErrorCode(1076, 'AUTH_EXCHANGE_ACCESSTOKEN_FAILED')
authExchangeAccesstokenLidMismatched → const PandoraApiErrorCode
const PandoraApiErrorCode(1077, 'AUTH_EXCHANGE_ACCESSTOKEN_LID_MISMATCHED')
plSkipLimitReached → const PandoraApiErrorCode
const PandoraApiErrorCode(2000, 'PL_SKIP_LIMIT_REACHED')
plStationDelete → const PandoraApiErrorCode
const PandoraApiErrorCode(2001, 'PL_STATION_DELETE')
plTrackRating → const PandoraApiErrorCode
const PandoraApiErrorCode(2002, 'PL_TRACK_RATING')
plSearch → const PandoraApiErrorCode
const PandoraApiErrorCode(2003, 'PL_SEARCH')
plStationCreate → const PandoraApiErrorCode
const PandoraApiErrorCode(2004, 'PL_STATION_CREATE')
plBookmark → const PandoraApiErrorCode
const PandoraApiErrorCode(2005, 'PL_BOOKMARK')
plTrackExplain → const PandoraApiErrorCode
const PandoraApiErrorCode(2006, 'PL_TRACK_EXPLAIN')
radioContentHasExpiredOnStationCreate → const PandoraApiErrorCode
const PandoraApiErrorCode(3000, 'RADIO_CONTENT_HAS_EXPIRED_ON_STATION_CREATE')
radioStationCodeInvalidToken → const PandoraApiErrorCode
const PandoraApiErrorCode(3001, 'RADIO_STATION_CODE_INVALID_TOKEN')
radioJsonError → const PandoraApiErrorCode
const PandoraApiErrorCode(3002, 'RADIO_JSON_ERROR')
radioNetworkError → const PandoraApiErrorCode
const PandoraApiErrorCode(3003, 'RADIO_NETWORK_ERROR')
radioAudioError → const PandoraApiErrorCode
const PandoraApiErrorCode(3004, 'RADIO_AUDIO_ERROR')
radioHttpResponseError → const PandoraApiErrorCode
const PandoraApiErrorCode(3005, 'RADIO_HTTP_RESPONSE_ERROR')
radioRemoteError → const PandoraApiErrorCode
const PandoraApiErrorCode(3006, 'RADIO_REMOTE_ERROR')
radioUnauthorizedHttpResponseError → const PandoraApiErrorCode
const PandoraApiErrorCode(3007, 'RADIO_UNAUTHORIZED_HTTP_RESPONSE_ERROR')
radioHttpBadRequestError → const PandoraApiErrorCode
const PandoraApiErrorCode(3008, 'RADIO_HTTP_BAD_REQUEST_ERROR')
apsSourceEnded → const PandoraApiErrorCode
const PandoraApiErrorCode(3009, 'APS_SOURCE_ENDED')
radioInvalidPartnerAuthToken → const PandoraApiErrorCode
const PandoraApiErrorCode(3010, 'RADIO_INVALID_PARTNER_AUTH_TOKEN')
radioForbiddenHttpResponseError → const PandoraApiErrorCode
const PandoraApiErrorCode(3011, 'RADIO_FORBIDDEN_HTTP_RESPONSE_ERROR')
thumbprintRadioIneligible → const PandoraApiErrorCode
const PandoraApiErrorCode(4000, 'THUMBPRINT_RADIO_INELIGIBLE')
playlaterOverflow → const PandoraApiErrorCode
const PandoraApiErrorCode(32001, 'PLAYLATER_OVERFLOW')
profileInvalidPandoraId → const PandoraApiErrorCode
const PandoraApiErrorCode(98000, 'PROFILE_INVALID_PANDORA_ID')
profileItemLimitTooHigh → const PandoraApiErrorCode
const PandoraApiErrorCode(98001, 'PROFILE_ITEM_LIMIT_TOO_HIGH')
profileAnnotationLimitTooHigh → const PandoraApiErrorCode
const PandoraApiErrorCode(98002, 'PROFILE_ANNOTATION_LIMIT_TOO_HIGH')
profileInvalidPagingParam → const PandoraApiErrorCode
const PandoraApiErrorCode(98003, 'PROFILE_INVALID_PAGING_PARAM')
profileListenerNotFound → const PandoraApiErrorCode
const PandoraApiErrorCode(98004, 'PROFILE_LISTENER_NOT_FOUND')
privateProfile → const PandoraApiErrorCode
const PandoraApiErrorCode(98005, 'PRIVATE_PROFILE')
profileFriendLimitExceeded → const PandoraApiErrorCode
const PandoraApiErrorCode(98007, 'PROFILE_FRIEND_LIMIT_EXCEEDED')
playlistVersionMismatch → const PandoraApiErrorCode
const PandoraApiErrorCode(99000, 'PLAYLIST_VERSION_MISMATCH')
playlistNotFound → const PandoraApiErrorCode
const PandoraApiErrorCode(99001, 'PLAYLIST_NOT_FOUND')
playlistTrackLimitReached → const PandoraApiErrorCode
const PandoraApiErrorCode(99002, 'PLAYLIST_TRACK_LIMIT_REACHED')
playlistBadRange → const PandoraApiErrorCode
const PandoraApiErrorCode(99003, 'PLAYLIST_BAD_RANGE')
invalidTrackId → const PandoraApiErrorCode
const PandoraApiErrorCode(99004, 'INVALID_TRACK_ID')
playlistLimitTooHigh → const PandoraApiErrorCode
const PandoraApiErrorCode(99005, 'PLAYLIST_LIMIT_TOO_HIGH')
collectionsBadCursor → const PandoraApiErrorCode
const PandoraApiErrorCode(99006, 'COLLECTIONS_BAD_CURSOR')
collectionsBadView → const PandoraApiErrorCode
const PandoraApiErrorCode(99007, 'COLLECTIONS_BAD_VIEW')
retryLater → const PandoraApiErrorCode
const PandoraApiErrorCode(99008, 'RETRY_LATER')
playlistEditInvalidOldState → const PandoraApiErrorCode
const PandoraApiErrorCode(99009, 'PLAYLIST_EDIT_INVALID_OLD_STATE')
badRequestMissingParameter → const PandoraApiErrorCode
const PandoraApiErrorCode(99010, 'BAD_REQUEST_MISSING_PARAMETER')
accessDenied → const PandoraApiErrorCode
const PandoraApiErrorCode(99011, 'ACCESS_DENIED')
invalidSinceVersion → const PandoraApiErrorCode
const PandoraApiErrorCode(99012, 'INVALID_SINCE_VERSION')
invalidItemId → const PandoraApiErrorCode
const PandoraApiErrorCode(99013, 'INVALID_ITEM_ID')
collectionsSortedCursorExpired → const PandoraApiErrorCode
const PandoraApiErrorCode(99014, 'COLLECTIONS_SORTED_CURSOR_EXPIRED')
linkedPlaylistAlreadyCreated → const PandoraApiErrorCode
const PandoraApiErrorCode(99015, 'LINKED_PLAYLIST_ALREADY_CREATED')
missingDeviceInfo → const PandoraApiErrorCode
const PandoraApiErrorCode(99016, 'MISSING_DEVICE_INFO')
invalidPandoraId → const PandoraApiErrorCode
const PandoraApiErrorCode(99017, 'INVALID_PANDORA_ID')
albumNotFound → const PandoraApiErrorCode
const PandoraApiErrorCode(99018, 'ALBUM_NOT_FOUND')
collectionLimitTooHigh → const PandoraApiErrorCode
const PandoraApiErrorCode(99019, 'COLLECTION_LIMIT_TOO_HIGH')
annotationLimitTooHigh → const PandoraApiErrorCode
const PandoraApiErrorCode(99020, 'ANNOTATION_LIMIT_TOO_HIGH')
insufficientConnectivity → const PandoraApiErrorCode
const PandoraApiErrorCode(100001, 'INSUFFICIENT_CONNECTIVITY')

Properties

description String
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromCode(int code) PandoraApiErrorCode

Constants

values → const List<PandoraApiErrorCode>
A constant List of the values in this enum, in order of their declaration.