Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/a226658477352411_5xx_err_docs'
Browse files Browse the repository at this point in the history
  • Loading branch information
vmaksymiv committed Dec 12, 2016
2 parents b1c6a81 + dfeddd3 commit 60bd558
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
32 changes: 32 additions & 0 deletions docs/source/errors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,41 @@ containing additional information.
429
Rate Limit Enforced. See :ref:`Rate control <performance>`.


Any 5xx error response means abnormal request processing situation and
should be reported to technical support.
Platform has to properly react to 5xx errors because such errors do not
necessarily guarantee that request was not performed. For repeatable operations
(such as 2-phase commit, fieds value modifications, etc.) you should repeat
the request with some interval. For other operations (such as document
upload, etc.) you should check modified object data (tender, bid, award, etc.)
with bigger interval (5-10 min).

500
Server error. There was a problem on OpenProcurement's end.

501
Not Implemented. The server either does not recognize the request method,
or it lacks the ability to fulfill the request. Re-check request consistency.

502
Bad Gateway. The server received an invalid response or backend is not ready
to handle requests. Repeat request for repeatable operations or check object
data with interval (1-5 min).

503
Service Unavailable. The server is currently unavailable (because it is
overloaded or down for maintenance). Generally, this is a temporary state.

504
Gateway Time-out. The server did not receive a timely response. Repeat
request for repeatable operations or check object data with interval (1-5 min).

505
HTTP Version Not Supported. The server does not support the HTTP protocol
version used in the request. Re-check request consistency.


Success Response
----------------
Every successful get, create, update, replace request results in response
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
}

setup(name='openprocurement.api',
version='2.3.37',
version='2.3.38',
description='openprocurement.api',
long_description=README,
classifiers=[
Expand Down

0 comments on commit 60bd558

Please sign in to comment.