diff --git a/spec/VISSv3.0_TransportExamples.html b/spec/VISSv3.0_TransportExamples.html index 4f8994e..36a3570 100644 --- a/spec/VISSv3.0_TransportExamples.html +++ b/spec/VISSv3.0_TransportExamples.html @@ -184,9 +184,10 @@
The server implementation SHALL support the error numbers listed in the table below, - with the associated reason and message fields, for all supported transport protocols.
-The client SHOULD support any status code defined in [[RFC2616]].
+A server implementing this specification SHALL support the error codes,
+ error reasons and error messages shown in the table below, for all supported transport protocols.
+ The server may choose to dynamically replace the error message as described in the sub-chapters
+ The client MAY support any status code defined in [[RFC2616]].
Error Number (Code) | @@ -196,44 +197,106 @@|||
---|---|---|---|
400 (Bad Request) | bad_request | -The request is malformed. | +The request is malformed |
400 (Bad Request) | invalid_data | -Data present in the request is invalid. | -|
401 (Unauthorized) | -expired_token | -Access token has expired. | +Data in the request is invalid |
401 (Unauthorized) | invalid_token | -Access token is invalid. | -|
401 (Unauthorized) | -missing_token | -Access token is missing. | +Access token is invalid |
403 (Forbidden) | forbidden_request | -The server refuses to carry out the request. | +The server refuses to carry out the request |
404 (Not Found) | unavailable_data | -The requested data was not found. | +The requested data was not found | +
408 (Request Timeout) | +request_timeout | +Subscribe duration limit exceeded | +|
429 (Too Many Requests) | +too_many_requests | +Rate-limiting due to too many requests | +|
502 (Bad Gateway) + | bad_gateway | +The upsteam server response was invalid | |
503 (Service Unavailable) | service_unavailable | -The server is temporarily unable to handle the request. | +The server is temporarily unable to handle the request | +
504 (Gateway Timeout) | +gateway_timeout | +The upsteam server took too long to respond |
+ This error code and reason shall be used for JSON schema related errors. + The default error message is shown in the table above. The server may dynamically replace this by any of the error messages in the list below. +
++ This error code and reason shall be used for errors that are not covered by the JSON schema but e. g. breaks a rule set by a VSS property. + The default error message is shown in the table above. The server may dynamically replace this by any of the error messages in the list below. +
++ This error code and reason shall be used when the server do not have access to the requested data. + The default error message is shown in the table above. The server may dynamically replace this by any of the error messages in the list below. +
+