From d1a77d4386a8a72e48bab12d4e756e620e66d5c9 Mon Sep 17 00:00:00 2001 From: jcass Date: Sun, 27 Dec 2015 08:29:19 +0200 Subject: docs: add details for the PARAMETER_MISSING exception. Reformat file layout. --- json/errorcodes.rst | 58 ++++++++++++++++++++++++++--------------------------- 1 file changed, 29 insertions(+), 29 deletions(-) (limited to 'json') diff --git a/json/errorcodes.rst b/json/errorcodes.rst index 7972ea4..731d1e5 100644 --- a/json/errorcodes.rst +++ b/json/errorcodes.rst @@ -7,34 +7,34 @@ List of error codes These error codes can be returned by all methods: -==== ============ -Code Description -==== ============ -0 Internal error. It can denote that your account has been temporarily blocked due to having too frequent station.getPlaylist calls. -1 MAINTENANCE_MODE -2 URL_PARAM_MISSING_METHOD -3 URL_PARAM_MISSING_AUTH_TOKEN -4 URL_PARAM_MISSING_PARTNER_ID -5 URL_PARAM_MISSING_USER_ID -6 SECURE_PROTOCOL_REQUIRED -7 CERTIFICATE_REQUIRED -8 PARAMETER_TYPE_MISMATCH -9 PARAMETER_MISSING -10 PARAMETER_VALUE_INVALID -11 API_VERSION_NOT_SUPPORTED -12 LICENSING_RESTRICTIONS. Pandora not available in this country. -13 INSUFFICIENT_CONNECTIVITY. Bad sync time? -14 Unknown method name? -15 Wrong protocol (http/https)? -1000 READ_ONLY_MODE -1001 INVALID_AUTH_TOKEN. Occurs once a user auth token expires. -1002 INVALID_PARTNER_LOGIN. auth.partnerLogin auth.userLogin. Can also occur for a user login. -1003 LISTENER_NOT_AUTHORIZED station.getPlaylist Pandora One Subscription or Trial Expired. Possibly account suspended? -1004 USER_NOT_AUTHORIZED User not authorized to perform action -1005 MAX_STATIONS_REACHED Station limit reached -1006 STATION_DOES_NOT_EXIST Station does not exist +==== ============ +Code Description +==== ============ +0 Internal error. It can denote that your account has been temporarily blocked due to having too frequent station.getPlaylist calls. +1 MAINTENANCE_MODE +2 URL_PARAM_MISSING_METHOD +3 URL_PARAM_MISSING_AUTH_TOKEN +4 URL_PARAM_MISSING_PARTNER_ID +5 URL_PARAM_MISSING_USER_ID +6 SECURE_PROTOCOL_REQUIRED +7 CERTIFICATE_REQUIRED +8 PARAMETER_TYPE_MISMATCH +9 PARAMETER_MISSING. Usually occurs when one or more required parameters are missing for the method called. +10 PARAMETER_VALUE_INVALID +11 API_VERSION_NOT_SUPPORTED +12 LICENSING_RESTRICTIONS. Pandora not available in this country. +13 INSUFFICIENT_CONNECTIVITY. Bad sync time? +14 Unknown method name? +15 Wrong protocol (http/https)? +1000 READ_ONLY_MODE +1001 INVALID_AUTH_TOKEN. Occurs once a user auth token expires. +1002 INVALID_PARTNER_LOGIN. auth.partnerLogin auth.userLogin. Can also occur for a user login. +1003 LISTENER_NOT_AUTHORIZED. station.getPlaylist - Pandora One Subscription or Trial Expired. Possibly account suspended? +1004 USER_NOT_AUTHORIZED. User not authorized to perform action. +1005 MAX_STATIONS_REACHED. Station limit reached. +1006 STATION_DOES_NOT_EXIST. Station does not exist. 1007 COMPLIMENTARY_PERIOD_ALREADY_IN_USE -1008 CALL_NOT_ALLOWED station.addFeedback Returned when attempting to add feedback to shared station +1008 CALL_NOT_ALLOWED. station.addFeedback - Returned when attempting to add feedback to shared station. 1009 DEVICE_NOT_FOUND 1010 PARTNER_NOT_AUTHORIZED 1011 INVALID_USERNAME @@ -54,5 +54,5 @@ Code Description 1035 DAILY_TRIAL_LIMIT_REACHED 1036 INVALID_SPONSOR 1037 USER_ALREADY_USED_TRIAL -1039 PLAYLIST_EXCEEDED Too many requests for a new playlist -==== ============ +1039 PLAYLIST_EXCEEDED. Too many requests for a new playlist. +==== ============ -- cgit v1.2.3