ERR::SCRAPE::BAD_PROTOCOL
The protocol is not supported only http:// or https:// are supported. See all errors
- Retryable: No
- HTTP status code: 422
If retryable is "yes" and retry=true
the errored is retried internally by scrapfly. In the end if you get the error, it means the errors happened 3 times or
the error happened after retries from other kind of retryable error in the last retry round.
Related Documentation
Read Error From Response Body
{
"config": { ... },
"context": { ... },
"result": {
[...],
"status": "DONE",
"success": false,
"reason": null,
"error": {
"http_code": 422,
"code": "ERR::SCRAPE::BAD_PROTOCOL",
"description": "ERR::SCRAPE::BAD_PROTOCOL",
"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::SCRAPE::BAD_PROTOCOL"
},
[...],
}
}
Read Error From Response Headers
Moslty relevant with HEAD
request
- X-Scrapfly-Reject-Code:
ERR::SCRAPE::BAD_PROTOCOL
- X-Scrapfly-Reject-Description:
The protocol is not supported only http:// or https:// are supported
- X-Scrapfly-Reject-Doc:
https://scrapfly.io/docs/scrape-api/error/ERR::SCRAPE::BAD_PROTOCOL
- X-Scrapfly-Reject-Http-Code:
https://scrapfly.io/docs/scrape-api/error/422
- X-Scrapfly-Reject-Retryable:
false