Skip to content

错误

关于如何处理 API 错误的详细指南如下。

由于内部错误、无效选项或达到限制,请求可能会返回错误。我们的截图 API 遵循 HTTP 状态代码语义,并在错误情况下返回 JSON:

Content-Type: application/json
{
    "is_successful": false,
    "error_code": "an_error_code",
    "error_message": "An error message",
    "documentation_url": "..."
}

Released under the MIT License.