
Fixed: WhatsApp Button "api.whatsapp.com is blocked" Error in Shravz AI Generated Sites
Recently, some users noticed an issue while previewing their newly generated websites: clicking a WhatsApp contact button resulted in a blank screen displaying
Fixed: WhatsApp Button "api.whatsapp.com is blocked" Error in Shravz AI Generated Sites
Recently, some users noticed an issue while previewing their newly generated websites: clicking a WhatsApp contact button resulted in a blank screen displaying an api.whatsapp.com is blocked or ERR_BLOCKED_BY_RESPONSE error. We are pleased to announce that our developer team investigated this immediately, identified the root cause, and successfully deployed a permanent fix on time.
Here is a quick breakdown of what caused the issue and how we made your Shravz AI websites 100% bug-free.
The Bug: "ERR_BLOCKED_BY_RESPONSE"
While testing generated sites in the Shravz Sandpack Preview environment, clicking any dynamically generated WhatsApp chat button would fail to load, showing the following browser security error:

The Root Cause: Iframe Security Blocks
The issue was not a broken URL, but rather a strict browser security measure.
When the Shravz AI Agent generates your React website, it displays it inside a live preview sandbox (an iframe). For security reasons—specifically to prevent "clickjacking"—platforms like Meta and WhatsApp enforce strict policies that block their websites from being loaded inside third-party iframes.
Because the AI was generating standard HTML links, the browser attempted to open WhatsApp inside the preview iframe, which triggered the automatic block from WhatsApp's servers.
How Our Developer Team Solved It
Our engineering team quickly isolated the behavior and applied a core neural update to the Antigravity AI architect engine.
We deployed a strict new UI generation rule directly to the AI's core instructions. The Shravz Agent is now permanently programmed to detect all external social and WhatsApp links and automatically append the target="_blank" and rel="noopener noreferrer" attributes to the code.
100% Bug-Free Lead Generation
With this update, whenever a visitor clicks a WhatsApp button on a site generated by Shravz, the browser will seamlessly pop open a new, secure tab. This completely bypasses the iframe restriction, ensuring high-converting, flawless communication for your business.
The update is now live across the entire ZalePro SaaS ecosystem. Build your next AI-powered project with confidence!