From deba6dfbf6c64b39d0f70f5863419e256ca49383 Mon Sep 17 00:00:00 2001 From: Amanda VS Date: Fri, 22 Mar 2024 16:00:23 -0400 Subject: [PATCH] Remove overlap --- articles/api/authentication/errors/_errors.md | 109 +++--------------- 1 file changed, 18 insertions(+), 91 deletions(-) diff --git a/articles/api/authentication/errors/_errors.md b/articles/api/authentication/errors/_errors.md index 6b4bc8efe2..640991a9ee 100644 --- a/articles/api/authentication/errors/_errors.md +++ b/articles/api/authentication/errors/_errors.md @@ -2,94 +2,21 @@ The Authentication API may return the following HTTP Status Codes: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
StatusDescriptionMessage
400Bad Request{"error": "invalid_request", "error_description": "..."}
400Bad Request{"error": "invalid_scope", "error_description": "..."}
400Bad Request{"error": "invalid_scope", "error_description": "Scope must be an array or a string"}
401Unauthorized{"error": "invalid_client", "error_description": "..."}
401Unauthorized{"error": "requires_validation", "error_description": "Suspicious request requires verification"}
403Forbidden{"error": "unauthorized_client", "error_description": "..."}
403Forbidden{"error": "access_denied", "error_description": "..."}
403Forbidden{"error": "access_denied", "error_description": "Unknown or invalid refresh token"}
403Forbidden{"error": "invalid_grant", "error_description": "..."}
404Not Found{"error": "endpoint_disabled", "error_description": "..."}
405Method Not Allowed{"error": "method_not_allowed", "error_description": "..."}
429Too Many Requests{"error": "too_many_requests", "error_description": "..."}
500Internal Server Error 
501Not Implemented{"error": "unsupported_response_type", "error_description": "..."}
501Not Implemented{"error": "unsupported_grant_type", "error_description": "..."}
503Service Unavailable{"error": "temporarily_unavailable", "error_description": "..."}
+| Status | Description | Message | +|:-----------------|:------------| :------------| +| 400 | Bad Request |`"error": "invalid_request", "error_description": "..."`| +| 400 | Bad Request | `"error": "invalid_request", "error_description": "..."`| +| 400 | Bad Request | `"error": "invalid_scope", "error_description": "Scope must be an array or a string"` | +| 401 | Unauthorized | `"error": "invalid_client", "error_description": "..."` | +| 401 | Unauthorized | `"error": "requires_validation", "error_description": "Suspicious request requires verification"` | +| 403 | Forbidden | `"error": "unauthorized_client", "error_description": "..."` | +| 403 | Forbidden | `"error": "access_denied", "error_description": "..."` | +| 403 | Forbidden | `"error": "access_denied", "error_description": "Unknown or invalid refresh token"` | +| 403 | Forbidden | `"error": "invalid_grant", "error_description": "..."` | +| 404 | Not Found | `"error": "endpoint_disabled", "error_description": "..."` | +| 405 | Method Not Allowed | `"error": "method_not_allowed", "error_description": "..."` | +| 429 | Too Many Requests | `"error": "too_many_requests", "error_description": "..."` | +| 500 | Internal Server Error | | +| 501 | Not Implemented | `"error": "unsupported_response_type", "error_description": "..."` | +| 501 | Not Implemented | `"error": "unsupported_grant_type", "error_description": "..."` | +| 503 | Service Unavailable | `"error": "temporarily_unavailable", "error_description": "..."` |