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
| 410 |`{ "errorCode": "INVALID_USER_TOKEN" }`| The user token has been invalidated, or does not exist. All further updates with this user token will fail. You should not send further updates for this user token. A user token can become invalidated when a user uninstalls an app for example. |
311
311
| 429 |`{ "errorCode": "RATE_LIMIT_EXCEEDED" }`| Server is sending updates too quickly, and has been rate limited (see [*Rate Limiting*](#rate-limiting) below). |
312
312
| 503 |`{ "errorCode": "SERVICE_UNAVAILABLE" }`| Could not save pin due to a temporary server error. |
313
-
314
-
315
-
## Rate Limiting
316
-
317
-
For requests using API Keys, developers can make up to 5000 requests per minute.
318
-
For requests using User Tokens, up to 300 requests every 15 minutes can be made.
319
-
Check the returned HTTP headers of any API request to see the current rate limit
The headers contain information about the current rate limit status:
332
-
333
-
| Header Name | Description |
334
-
|-------------|-------------|
335
-
|`x-ratelimit-percent`| The percentage of the rate limit currently utilized. |
336
-
|`retry-after`| When `x-ratelimit-percent` has reached `100`, this header will be set to the number of seconds after which the rate limit will reset. |
337
-
338
-
When the rate limit is exceeded, the response body also reports the error:
0 commit comments