Skip to content

Commit

Permalink
Remove overlap
Browse files Browse the repository at this point in the history
  • Loading branch information
Amanda VS committed Mar 22, 2024
1 parent c066abc commit deba6df
Showing 1 changed file with 18 additions and 91 deletions.
109 changes: 18 additions & 91 deletions articles/api/authentication/errors/_errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,94 +2,21 @@

The Authentication API may return the following HTTP Status Codes:

<table class="table">
<thead>
<tr>
<th width="20%">Status</th>
<th width="20%">Description</th>
<th width="60%">Message</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="badge badge-danger">400</span></td>
<td>Bad Request</td>
<td><code>{"error": "invalid_request", "error_description": "..."}</code></td>
</tr>
<tr>
<td><span class="badge badge-danger">400</span></td>
<td>Bad Request</td>
<td><code>{"error": "invalid_scope", "error_description": "..."}</code></td>
</tr>
<tr>
<td><span class="badge badge-danger">400</span></td>
<td>Bad Request</td>
<td><code>{"error": "invalid_scope", "error_description": "Scope must be an array or a string"}</code></td>
</tr>
<tr>
<td><span class="badge badge-danger">401</span></td>
<td>Unauthorized</td>
<td><code>{"error": "invalid_client", "error_description": "..."}</code></td>
</tr>
<tr>
<td><span class="badge badge-danger">401</span></td>
<td>Unauthorized</td>
<td><code>{"error": "requires_validation", "error_description": "Suspicious request requires verification"}</code></td>
</tr>
<tr>
<td><span class="badge badge-danger">403</span></td>
<td>Forbidden</td>
<td><code>{"error": "unauthorized_client", "error_description": "..."}</code></td>
</tr>
<tr>
<td><span class="badge badge-danger">403</span></td>
<td>Forbidden</td>
<td><code>{"error": "access_denied", "error_description": "..."}</code></td>
</tr>
<tr>
<td><span class="badge badge-danger">403</span></td>
<td>Forbidden</td>
<td><code>{"error": "access_denied", "error_description": "Unknown or invalid refresh token"}</code></td>
</tr>
<tr>
<td><span class="badge badge-danger">403</span></td>
<td>Forbidden</td>
<td><code>{"error": "invalid_grant", "error_description": "..."}</code></td>
</tr>
<tr>
<td><span class="badge badge-danger">404</span></td>
<td>Not Found</td>
<td><code>{"error": "endpoint_disabled", "error_description": "..."}</code></td>
</tr>
<tr>
<td><span class="badge badge-danger">405</span></td>
<td>Method Not Allowed</td>
<td><code>{"error": "method_not_allowed", "error_description": "..."}</code></td>
</tr>
<tr>
<td><span class="badge badge-danger">429</span></td>
<td>Too Many Requests</td>
<td><code>{"error": "too_many_requests", "error_description": "..."}</code></td>
</tr>
<tr>
<td><span class="badge badge-danger">500</span></td>
<td>Internal Server Error</td>
<td>&nbsp;</td>
</tr>
<tr>
<td><span class="badge badge-danger">501</span></td>
<td>Not Implemented</td>
<td><code>{"error": "unsupported_response_type", "error_description": "..."}</code></td>
</tr>
<tr>
<td><span class="badge badge-danger">501</span></td>
<td>Not Implemented</td>
<td><code>{"error": "unsupported_grant_type", "error_description": "..."}</code></td>
</tr>
<tr>
<td><span class="badge badge-danger">503</span></td>
<td>Service Unavailable</td>
<td><code>{"error": "temporarily_unavailable", "error_description": "..."}</code></td>
</tr>
</tbody>
</table>
| Status | Description | Message |
|:-----------------|:------------| :------------|
| <span class="badge badge-danger">400</span> | Bad Request |`"error": "invalid_request", "error_description": "..."`|
| <span class="badge badge-danger">400</span> | Bad Request | `"error": "invalid_request", "error_description": "..."`|
| <span class="badge badge-danger">400</span> | Bad Request | `"error": "invalid_scope", "error_description": "Scope must be an array or a string"` |
| <span class="badge badge-danger">401</span> | Unauthorized | `"error": "invalid_client", "error_description": "..."` |
| <span class="badge badge-danger">401</span> | Unauthorized | `"error": "requires_validation", "error_description": "Suspicious request requires verification"` |
| <span class="badge badge-danger">403</span> | Forbidden | `"error": "unauthorized_client", "error_description": "..."` |
| <span class="badge badge-danger">403</span> | Forbidden | `"error": "access_denied", "error_description": "..."` |
| <span class="badge badge-danger">403</span> | Forbidden | `"error": "access_denied", "error_description": "Unknown or invalid refresh token"` |
| <span class="badge badge-danger">403</span> | Forbidden | `"error": "invalid_grant", "error_description": "..."` |
| <span class="badge badge-danger">404</span> | Not Found | `"error": "endpoint_disabled", "error_description": "..."` |
| <span class="badge badge-danger">405</span> | Method Not Allowed | `"error": "method_not_allowed", "error_description": "..."` |
| <span class="badge badge-danger">429</span> | Too Many Requests | `"error": "too_many_requests", "error_description": "..."` |
| <span class="badge badge-danger">500</span> | Internal Server Error | |
| <span class="badge badge-danger">501</span> | Not Implemented | `"error": "unsupported_response_type", "error_description": "..."` |
| <span class="badge badge-danger">501</span> | Not Implemented | `"error": "unsupported_grant_type", "error_description": "..."` |
| <span class="badge badge-danger">503</span> | Service Unavailable | `"error": "temporarily_unavailable", "error_description": "..."` |

0 comments on commit deba6df

Please sign in to comment.