A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://getpocket.com/developer/docs/errors below:

Pocket Developer Program: Error Handling

Response, Status, and Error Codes

Each call to the API will return a number of informational headers. These headers will include information on the result of the request, errors, and rate limits.

Example Response Headers (for an Error):
Status: 400 Bad Request
X-Error: Missing API Key
X-Error-Code: 132
X-Limit-User-Limit: 100
X-Limit-User-Remaining: 43
X-Limit-User-Reset: 25
X-Limit-Key-Limit: 5000
X-Limit-Key-Remaining: 3520
X-Limit-Key-Reset: 25
                
Error Messages:

If there was an error, the X-Error header in the HTTP response will include a description of the problem. In most cases, it is a best practice to display this message to the user. We also include a X-Error-Code - this numeric code can be helpful when communicating with Pocket support about an error condition.

Status Codes:

As described above, the X-Error message will describe exactly what went wrong. However, the HTTP status code will provide a basic idea of what the problem was:

Rate Limits

Please view the Rate Limit Documentation for a detailed look at rate limits and rate limit error responses.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.3