A clearer error for failed HTTPS connections

The new secure_connection_failed error explains HTTPS connection failures and how to request a public page over HTTP when appropriate.

Changelog1 min read

Written by

Dmytro Krasun

Published on

A website can work over HTTP while its HTTPS connection fails. These failures have been reported as a generic network_error, which makes it harder to understand why the screenshot failed and whether retrying will help.

We’re introducing secure_connection_failed for failures to establish a secure HTTPS connection to the target website. The error message explains the problem and suggests checking the site’s HTTPS configuration or trying its public HTTP URL.

If a public page works over HTTP, you can explicitly pass url=http://example.com while keeping the ScreenshotOne API endpoint on HTTPS. Use this only when an unencrypted connection to the target is acceptable and the request contains no credentials or sensitive data. ScreenshotOne does not automatically switch HTTPS requests to HTTP.

During rollout, these failures may still return network_error, so keep handling both error codes. See how to handle API errors for an updated example of showing the error to your users and deciding when to retry.

Read more product updates

New features, bug fixes, and optimizations...

View all product updates
Screenshot URLs are now available in the response

Screenshot URLs are now available in the response

You can now get a screenshot URL in the response of the API call.

Read more

1 min read

ScreenshotOne is available as a ChatGPT plugin

ScreenshotOne is available as a ChatGPT plugin

From today, you can render screenshots of any website or even raw HTML in ChatGPT—ScreenshotOne is available as a plugin. But at the moment of writing not available yet, in the official store, but it can be available when you read it.

Read more

2 min read

Slice full-page screenshots

Slice full-page screenshots

Full-page screenshots can now be split into smaller vertical slices for better AI analysis workflows.

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.