Skip to content

Commit

Permalink
DOCS, Streaming: Added a new 5004 error
Browse files Browse the repository at this point in the history
  • Loading branch information
s-kostyuk committed May 16, 2018
1 parent 756869b commit 7f152d1
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/source/api/handling_errors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,23 @@ The name of erroneous field is specified in ``devel_message`` field of Error
message.


Error 5004: Session was resumed on another connection
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

This error can be thrown on already opened Streaming API connections.
It may indicate that:

- some client initiated a new Streaming API connection using the same
access token and connected to the same Session.

This error usually indicates some issue with the client-side code and
should be fixed by client's developer. In some situations, client
applications keeps old connections unclosed while attempting to establish
a new one. In such situations, the old connection is closed with the
specified error - 5004. To avoid this error, please, close the old
Streaming API connections before the new connection will be opened.


Error 5010: Invalid message type (not Control)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down

0 comments on commit 7f152d1

Please sign in to comment.