Exception: ScrapeUnblocker::InvalidRequestError

Inherits:
APIError
  • Object
show all
Defined in:
lib/scrapeunblocker/errors.rb

Overview

The request was rejected as invalid (HTTP 400).

Raised for a malformed URL or unsupported scheme, for a missing x-scrapeunblocker-key header ("Missing x-scrapeunblocker-key"), and for a URL that belongs to a dedicated plugin - the response names the endpoint to use instead.

Instance Attribute Summary

Attributes inherited from APIError

#body, #status_code

Method Summary

Methods inherited from APIError

#initialize

Constructor Details

This class inherits a constructor from ScrapeUnblocker::APIError