summaryrefslogtreecommitdiff
path: root/json
diff options
context:
space:
mode:
authorjcass <john.cass77@gmail.com>2015-12-27 08:29:19 +0200
committerjcass <john.cass77@gmail.com>2015-12-27 08:29:19 +0200
commitd1a77d4386a8a72e48bab12d4e756e620e66d5c9 (patch)
tree5633df8d51013cc26e7a35f6fe2de03e3be9f6b7 /json
parent2183a2b1ed235ed3bcbb6982571402f28a3e4e47 (diff)
downloadpandora-apidoc-d1a77d4386a8a72e48bab12d4e756e620e66d5c9.tar.gz
pandora-apidoc-d1a77d4386a8a72e48bab12d4e756e620e66d5c9.tar.bz2
pandora-apidoc-d1a77d4386a8a72e48bab12d4e756e620e66d5c9.zip
docs: add details for the PARAMETER_MISSING exception. Reformat file layout.
Diffstat (limited to 'json')
-rw-r--r--json/errorcodes.rst58
1 files changed, 29 insertions, 29 deletions
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.
+==== ============