Skip to main content
All CollectionsGetting Started
ZenRows Give a 400 - Bad Request Error
ZenRows Give a 400 - Bad Request Error
Updated over 2 weeks ago

What is ZenRows?

ZenRows is a web scraping API that helps users extract data from websites efficiently. It handles challenges like dynamic content, captchas, and bot protections, making it easier to retrieve structured information from the web.

Understanding the 400 - Bad Request Error

If you encounter a 400 - Bad Request error when using ZenRows, it usually means that the webpage you are trying to scrape has strong security measures in place. These measures may include:

  • JavaScript rendering requirements

  • Bot detection and captchas

  • IP blocking or rate limiting

How to Fix This Error

To bypass these security restrictions, ZenRows provides options like JavaScript Rendering and Premium Proxies. Enabling these features helps simulate a real browser session, making it less likely for the website to block your request.

Workaround: Enable JavaScript Rendering and Premium Proxies

  1. Go to the Data Editor in Glide.

  2. Add a URL Column where you store the webpage link.

  3. Create a new ZenRows - Get Page Content column.

  4. Target the URL Column and enable both:

    • JavaScript Rendering (to process pages that require JavaScript execution)

    • Premium Proxies (to avoid IP bans and improve request success rate)

Why This Works

  • JavaScript Rendering allows ZenRows to execute scripts just like a real user’s browser, ensuring that dynamically loaded content is accessible.

  • Premium Proxies help distribute requests across different IPs, reducing the risk of getting blocked by the target website.

By following these steps, you can effectively scrape data from websites with stronger security measures and avoid the 400 - Bad Request error.

Did this answer your question?