clarify 413 error (#3428)

pull/3430/head
kelseiv 2021-11-19 18:02:30 -08:00 committed by GitHub
parent 535b1cfb1e
commit 95edc04c22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -62,7 +62,9 @@ Write requests return the following status codes:
For more information about token types and permissions, see [Manage API tokens](/influxdb/cloud/security/tokens/)
- `404` **Not found**: A requested resource (e.g. an organization or bucket) was not found.
The response body contains the requested resource type, e.g. "organization", and resource name.
- `413` **Request entity too large**: The write request payload exceeded the size limit (**50 MB *uncompressed*** data or **250 MB *decompressed***).
- `413` **Request entity too large**: Occurs in the following cases:
- The write request payload exceeds the size limit **50 MB** (compressed or uncompressed).
- A compressed payload attempts to uncompress more than **250 MB** of data.
- `429` **Too many requests**: API token is temporarily over quota. The `Retry-After` header describes when to try the write request again.
- `500` **Internal server error**: Default HTTP status for an error.
- `503` **Service unavailable**: Server is temporarily unavailable to accept writes. The `Retry-After` header describes when to try the write again.