Skip to content

Commit f21fb90

Browse files
committed
Errors
table of errors with descriptions
1 parent 1edf925 commit f21fb90

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

source/includes/_activity.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ value | count of active cases | number
736736
date_from | date interval | string
737737

738738

739-
<br/><br/><br/><br/><br/>
739+
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
740740

741741

742742
**Case Classifications**
@@ -981,6 +981,20 @@ nps_score | average nps score | number
981981

982982
## Errors
983983

984+
The API may return the following error codes.
985+
986+
Code | Type | Description |
987+
---------|-------------|------|
988+
400 | Invalid report - date range is too long | Your date range must be not greather than 12 months
989+
400 | Invalid report - starting date is a future date | Starting date must be in the past
990+
400 | Invalid report - invalid type| Chart type provided is invalid
991+
401 | Unauthorized - api token not matching| Your API token provided is not valid
992+
401 | Unauthorized | missing authentication data | API token is missing
993+
404 | Not found | General error for malformed request
994+
429 | Rate limited exceeded | You're making too many requests
995+
996+
997+
984998
## Rate Limiting
985999

9861000
The API may rate limit requests made by your application. Our rate limits are managed by an allowed number of requests per time window. A single request could be to retrieve a list of users, or query a particular chart endpoint.

0 commit comments

Comments
 (0)