Fail ScreenshotOne API requests on purpose

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

Blog post 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
Improved API request log

Improved API request log

A new and improved request log has been deployed. That is a good beginning of the week! Check out why.

Read more

1 min read

Convert any website to Markdown format with ScreenshotOne API

Convert any website to Markdown format with ScreenshotOne API

Now you can convert any website to Markdown format with ScreenshotOne API in just one simple API call.

Read more

1 min read

ScreenshotOne Playground has been improved

ScreenshotOne Playground has been improved

A few important updates in ScreenshotOne Playground.

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.