diff options
author | Mike Crute <mike@crute.us> | 2017-10-29 04:32:32 +0000 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2017-10-29 04:34:16 +0000 |
commit | cbbcd70463862c5aac1c2467d70895a77bdb96b3 (patch) | |
tree | 4b21d4eb6460c90a8fe115c5cb3f8fb8c7bd5e58 /rest/errorcodes.rst | |
parent | 19f91a60a96d09584e666d5e2a9b8794e459215d (diff) | |
download | pandora-apidoc-cbbcd70463862c5aac1c2467d70895a77bdb96b3.tar.gz pandora-apidoc-cbbcd70463862c5aac1c2467d70895a77bdb96b3.tar.bz2 pandora-apidoc-cbbcd70463862c5aac1c2467d70895a77bdb96b3.zip |
Stub out REST API docs
Diffstat (limited to 'rest/errorcodes.rst')
-rw-r--r-- | rest/errorcodes.rst | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/rest/errorcodes.rst b/rest/errorcodes.rst new file mode 100644 index 0000000..13d8a59 --- /dev/null +++ b/rest/errorcodes.rst @@ -0,0 +1,41 @@ +=================== +List of Error Codes +=================== + +.. index:: + single: REST Error codes + +.. note:: + + This page is incomplete. The error enumeration should be complete but codes + and descriptions are guesses. + +These error codes can be returned by all endpoints: + +.. code:: json + + { + "errorCode": 0, + "errorString": "INVALID_REQUEST", + "message": "The request could not be validated" + } + +========== ============================= =========== +Error Code Error String Description +========== ============================= =========== +0 INVALID_REQUEST General bad request error. Often means authentication was invalid +? STREAM_VIOLATION Unable to stream to this region? +? STATION_LIMIT_REACHED Stream minutes limit or skip count reached? +? THUMBPRINT_RADIO_NOT_ELIGIBLE Not enough feedback to construct a Thumbprint station? +? LISTENER_NOT_AUTHORIZED Current user is not able to access shared content? +? PLAYLIST_END End of playlist? +? READONLY_MODE Pandora back-end maintenance? +? STATION_CODE_INVALID Invalid station +? STATION_DOES_NOT_EXIST Station does not exist +? LISTENER_SUSPENDED Account has been suspended +? CREDIT_CARD_NO_RECORD_FOUND No credit card on file? +? CONTENT_HAS_EXPIRED Audio link for song has expired? +? SERVER_ERROR Generic server error +? NOT_FOUND Content not found +? UNPLAYABLE_SHUFFLE_STATION Unable to play shuffle station? +========== ============================= =========== |