Push the boundaries of what DataForSEO can do
Learn about the latest updates

Subscribe To Our Newsletter

Back

Custom JavaScript Error Info in On-Page API

November,13 2024 19:10:20

Improvement
On-Page API
Custom JavaScript Error Info in On-Page API

On-Page API endpoints that allow specifying custom_js now include a new field in the responses: custom_js_client_exception. If an error occurs during your custom JavaScript execution, the custom_js_client_exception field will display an error message, allowing you to identify and resolve issues with your script.

Here’s the list of endpoints supporting the new custom_js_client_exception field:

Using this new feature, you can proactively identify any issues with your custom JavaScript, making it easier to collect accurate and targeted data from web pages.

This update aims to improve transparency, helping you troubleshoot quickly and adjust your code for smooth custom data extraction with On-Page API.

Embed DataForSeo widget on your website


Embed code:
Preview: