You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/README.md
+6-3
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ For those building their own implementation, here are some key things to keep in
25
25
- Querystring parameters must be URL encoded. All languages should have a function to do this.
26
26
- Requests to Observations/Records that you expect a large amount (>1M rows) of data from should be partitioned. We recommend by Monitoring locations and/or activity start year. There is a technical database reason for this that you're welcome to ask us about.
27
27
- Each request partition should be paginated over using the `Link` header or `@odata.nextLink` within the body of the response.
28
-
- Rate limit yourself (2/sec) and don't make requests in parallel. This will ensure you don't get `403 Unauthorized` responses.
28
+
- Rate limit yourself (2 reqs/sec) and don't make requests in parallel. This will ensure you don't get `429 Too Many Requests` error response.
This means your request was too complicated and was unable to complete within 30sec. Lowering `$top` and/or adding in narrower filtering should resolve this issue.
184
+
182
185
### 413 Payload Too Large
183
186
This means your request result was too large. Lowering `$top` or only requesting the values you need should resolve this issue.
184
187
185
-
### 408 or 504 Timeout
186
-
This means your request was too complicated and was unable to complete within 30sec. Lowering `$top` and/or adding in narrower filtering should resolve this issue.
188
+
### 429 Too Many Requests
189
+
This status code indicates that the client has sent too many requests in a given amount of time. To resolve this issue, rate limit yourself (2 reqs/sec) and don't make requests in parallel.
187
190
188
191
## Disclaimer
189
192
We are currently in a Beta, changes will happen. We will do our best effort to keep you informed of any breaking changes.
0 commit comments