Fail ScreenshotOne API requests on purpose

Use a new option to fail ScreenshotOne API requests on purpose.

Changelog 1 min read

Written by

Dmytro Krasun

Published on

Use fail_if_request_failed option to fail the API request if any matched request failed:

https://api.screenshotone.com/take?fail_if_request_failed=*images.example.com*&url=https://example.com/&access_key=<access key>

In the example above, the API request will fail if the request to *images.example.com* fails or any other request that matches the pattern.

It is useful if you in specific cases you want to ensure that all resources are loaded. Also, notice that failed requests are not counted towards your rendering quota.

As always, if you have any questions, please, reach out at support@screenshotone.com.

Read more product updates

New features, bug fixes, and optimizations...

View all product updates
Set locale and language of the browser

Set locale and language of the browser

A new version of the ScreenshotOne API has been just deployed. It allows you to set both locale and language of the browser when rendering screenshots with one simple option.

Read more

1 min read

Choose the full page screenshot algorithm

Choose the full page screenshot algorithm

Now, you can choose the full page screenshot algorithm.

Read more

1 min read

Better error coverage and documentation

Better error coverage and documentation

Since a few months ago, it has been possible to check errors in the dashboard request log and get explanations and more details in the documentation. But!

Read more

1 min read

Automate website screenshots

Exhaustive documentation, ready SDKs, no-code tools, and other automation to help you render website screenshots and outsource all the boring work related to that to us.