ERR::API::INTERNAL_ERROR
From the 2022/09/01, to simplify errors management and the perception by the api consumer - all errors with Deprecated http code becomes 422 and the code must be used to handle them.
API Internal Error. See all errors
- Retryable: No
- HTTP status code: 500 Deprecated - Will became 422 on 2022/09/01
Related Documentation
Read Error From Response Body
{
"config": { ... },
"context": { ... },
"result": {
[...],
"status": "DONE",
"success": false,
"reason": null,
"error": {
"http_code": 500,
"code": "ERR::API::INTERNAL_ERROR",
"description": "API Internal Error",
"error_id": "9993a546-b899-4927-b788-04f5c4e473d5",
"message": "Useful hint with details about your error",
"scrape_id": "7c61352c-f1a7-4ea6-a0b8-198d7ac6fe1a",
"retryable": false,
"doc_url": "https://scrapfly.io/docs/scrape-api/error/ERR::API::INTERNAL_ERROR"
},
[...],
}
}
Read Error From Response Headers
Moslty relevant with HEAD
request
- X-Scrapfly-Reject-Code:
ERR::API::INTERNAL_ERROR
- X-Scrapfly-Reject-Description:
API Internal Error
- X-Scrapfly-Reject-Doc:
https://scrapfly.io/docs/scrape-api/error/ERR::API::INTERNAL_ERROR
- X-Scrapfly-Reject-Http-Code:
https://scrapfly.io/docs/scrape-api/error/500
- X-Scrapfly-Reject-Retryable:
false