Skip to content

Error Codes

Shubhajit Saha edited this page Dec 16, 2015 · 3 revisions

HTTP Status Codes

The oEmbed API attempts to return appropriate HTTP status codes for every request. When issues arise, oEmbed API return the following fields in a JSON response:

FIELD RESPONSE
message Description of the error
code Error code per the chart below
{"errors": [{"message": "Sorry, that page does not exist", "code": 404}]}

Possible errors returned:

CODE DESCRIPTION
401 Unauthorized token
404 Requested page not found
429 Your token has exceeded the allowed number of calls, or has otherwise been throttled for API abuse.
500 Error processing the page. Specific information will be returned in the JSON response.

Clone this wiki locally