Troubleshooting

The following page contains common troubleshooting steps that may help you when facing issues with Scraper APIs.

src property must be a valid json object

We are sometimes not able to scrape the requested target. Some possible reasons may be:

  • The target can only be reached from a specific country.
  • The target times out (we retry automatically, but we give up after a number of retries).

It is not easy to deduce the exact reason for why a specific request may fail, but common troubleshooting steps include:

  • Enable Javascript rendering.
  • Change the locale (country) of the request.

The hostname cannot be an ip address

In case this error is being received make sure that your url parameter has a leading http:// or https:// protocol provided and is an actual hostname rather than an IP address.