Possible server restrictions on loading embed.js, resulting in a status 0 (unknown) in the response. | Community
Skip to main content
Question

Possible server restrictions on loading embed.js, resulting in a status 0 (unknown) in the response.


Hello, I would like to inquire if there are any server restrictions when attempting to load embed.js using the script tag  

<script async src="https://embed.typeform.com/embed.js"></script>

In automated tests, sometimes the request response has a status of 0 (unknown). Could this be due to something like a rate limiter or similar restrictions, or might the issue be on my side?

3 replies

Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 15035 replies
  • May 28, 2025

Hi ​@vitaly3000 Thanks for stopping by the community! I’m not quite sure I understand how you’re testing. Do you mind sharing a bit more and/or the page where you’re embedding the form? Thanks in advance!


  • Author
  • Explorer
  • 1 reply
  • June 11, 2025

Unfortunately, I can only describe how to reproduce the problem.  
We have a regular page where a script is embedded:  

<script async src="https://embed.typeform.com/embed.js"></script>


Is it possible for server-side restrictions to be in place, considering that this page with the script is opened multiple times in a short period from a single IP address?  
Can the server, in this case, return a status 0 ("Unknown")?


James
Community Team
Forum|alt.badge.img+5
  • Community Team
  • 719 replies
  • June 13, 2025

Hey ​@vitaly3000 

Just checked in on this with the tech team here at Typeform.

They say: “since you’re getting a 0 status code, this can't be a response from our servers because it's not a valid HTTP status code.

This likely indicates an issue on the client/user side. Maybe you could send a HAR file about the requests, or paste error lines they see, to investigate further. If the request was blocked by us, you would see a different status code, e.g. 429, 403 or something else but not 0”.

I hope this is helpful in some way. Do let us know if you’re able to solve this. 

Cheers

 

 


Reply