Dez 2, 20228:46 AM - bearbeitet Dez 2, 20228:46 AM
Teilnehmer/-in
How can I test a 500 error page?
lösung
We have a multilingual site, and have customized the 500 error page template (e.g. link) so we render an error message in the appropriate language for the user.
The question I have is this: Is there a way to get Hubspot to produce, or simulate, a 500 error so we can test our work?
Hi @JamesSilver and @Jaycee_Lewis , definitely an interesting question and one I get a lot, unfortunately there is no way that I know of to force a 500 error (I'd love to know if there's a trick for this though!) - and in 6 years with hundreds of websites, I haven't seen a single one throw a 500 error.
The very small amount of times I've seen a website go down on HubSpot servers it either rendered a blank page or a HubSpot error page, it didn't produce the website 500 page. My assumption has always been because that page also lives on the same server as the website, so technically if the website can't be reached, neither can the template.
I've never spent a lot of time on 500 pages because of this - 404 is a different story and you can do a lot of work there and test thoroughly.
Hi @JamesSilver and @Jaycee_Lewis , definitely an interesting question and one I get a lot, unfortunately there is no way that I know of to force a 500 error (I'd love to know if there's a trick for this though!) - and in 6 years with hundreds of websites, I haven't seen a single one throw a 500 error.
The very small amount of times I've seen a website go down on HubSpot servers it either rendered a blank page or a HubSpot error page, it didn't produce the website 500 page. My assumption has always been because that page also lives on the same server as the website, so technically if the website can't be reached, neither can the template.
I've never spent a lot of time on 500 pages because of this - 404 is a different story and you can do a lot of work there and test thoroughly.