-
bgbstudioHello! Our customers are receiving a 405 error after they complete and submit our form. It is embedded on our website. Is there a fix for this on Jotform's end?
Page URL: https://form.jotform.com/201807345854054 -
Podo: Support SpecialistHi bgbstudio,
Thanks for reaching out to Jotform Support. I'm an AI assistant here to assist you.
The 405 error your customers are receiving after submitting the embedded form on your website is typically related to the HTTP method not being allowed by the server. This issue is generally not caused by Jotform itself but rather by how the form is embedded or how the server hosting your website handles the form submission.
Here’s how to troubleshoot and potentially fix this issue:
- Check your embed method: Jotform recommends using the JavaScript embed method for embedding forms on websites. This method is widely supported and ensures the form works properly with automatic updates.
- Try re-embedding the form: In Form Builder, go to Publish > Embed, then try using either the Embed code or the Iframe code. Sometimes switching between these two can resolve issues caused by server restrictions.
- Clear browser cache and cookies: Sometimes cached data can cause conflicts. Clearing cache and cookies or trying a different browser or device can help identify if this is the cause.
- Check your website server settings: Ensure your server allows POST requests to the URL where the form is submitting. A 405 error usually means POST requests are blocked or not supported on the server endpoint.
- Test the form outside your website: Open the form directly using its Jotform URL (e.g., https://www.jotform.com/yourformid) to confirm if the issue is with the form or the website embedding.
If after trying these steps the issue persists, the problem is likely related to your website's server configuration rather than Jotform. Adjusting server settings to allow the form submission method should resolve the 405 error.
Give it a try and let us know how it goes.
-
bgbstudioThe error shows up while opening the form directly.
-
Podo: Support SpecialistHi bgbstudio,
Since the 405 error appears when opening the form directly, this indicates an issue beyond just the embedding on your website. Common causes for such errors when accessing the form directly include:
- Using an incorrect Jotform domain for the form URL. Depending on your location, you may need to use domains like jotform.us, jotform.me, or others instead of the standard jotform.com.
- The form may be disabled or deleted, which would cause it to be unavailable.
- The form could be suspended for violating Jotform's Terms of Use.
- There might be caching issues or network problems affecting access.
Let me show you how to troubleshoot:
- Verify the form URL domain: Make sure you are using the correct Jotform domain for your form link.
- Check the form status: Log in to your Jotform account and ensure the form is enabled and not deleted or suspended.
- Clear your browser cache: Clear cache and cookies or try opening the form in a different browser or incognito mode.
If these steps do not resolve the issue, the problem may require further investigation related to your account or form settings.
Give it a try and let us know how it goes.
-
bgbstudioPerformed all steps above and the issue still persists
-
Podo: Support SpecialistHi bgbstudio,
Since you have performed all the troubleshooting steps and the 405 error still persists even when opening the form directly, it is possible that your form is disabled, suspended, or there is an issue with your account or form settings.
Please note that this situation requires further investigation on our end to determine the exact cause and resolve the issue.
Our support team will handle your request and get back to you with a solution.
Give it a try and let us know how it goes.
-
Aries JotForm SupportHi bgbstudio,
A 405 error usually means that the server hosting your website is rejecting the type of request the form is sending after submission. This is typically related to how the form is embedded on your site or your server configuration, rather than an issue with Jotform itself. To investigate this, can you share with us your website URL?
Once you get back to us, we can take the next step toward solving this.
-
bgbstudio -
bgbstudio -
Aries JotForm SupportHi bgbstudio,
Thanks for sharing your website URL. When I cloned and tested your form using the same source codes, I wasn't able to replicate the issue. Check out the screenshot below:
I also tried opening your form directly via its Jotform link, and it is working properly on our end. Check out the screenshot below:
This confirms that the form itself is functioning correctly. Since the issue only occurs when the form is embedded on your website, the 405 error appears to be coming from the hosting/server environment rather than from Jotform. A 405 error typically indicates that the server is blocking the POST request made during form submission. We recommend checking the following on your website:
- Any firewall or security settings that may block external form submissions
- Content Security Policy (CSP) rules
- Custom scripts that may interfere with embedded forms
- Server rules that restrict POST requests
As a troubleshooting step, you may also try switching to the iFrame embed method to see if the behavior changes. If the issue persists even with iFrame, this would further confirm that it is server-related. Embedding your form on a webpage is really easy. Let me show you how:
- In Form Builder, in the orange navigation bar at the top of the page, click on Publish.
- In the menu on the left side of the page, click on Embed.
- Now, select the iFrame option, and click on Copy Code.
- Paste your code into your webpage's embed area, and that’s it.
Give it a try and let us know how it goes.
-
bgbstudioI will give these steps a try. For now we changed the thank you page to "Show a thank you page after submission" instead of redirecting to an external link. If we decide to go back to a redirect then I will explore the issue further.
-
bgbstudioI have implemented these fixes and the issues still persist.
-
Raymond JotForm SupportHi bgbstudio,
I checked your website and it seems that the 503 error is being returned by Cloudflare, which is protecting your website. Since the form works correctly when accessed directly, the issue occurs only when the Thank You page is loaded from within Jotform’s embedded iframe. In this case, Cloudflare may treat the request as suspicious due to it coming from a different origin and block it with a 503 response.
To resolve this, you can whitelist requests from Jotform, disable strict bot protection settings, or create a rule in Cloudflare to allow traffic to your Thank You page when accessed via iframe. If you're not familiar with this, we suggest checking with your website administrator, and they'll be able to set this for you.
Reach out again if you need any help.
-
bgbstudioWould this help with the 405 error? We've had cloudflare active for a while but only recently had this issue.
-
Raymond JotForm SupportHi bgbstudio,
Yes, whitelisting iframe embedded content from Jotform will help prevent the issue from occurring. Doing so will allow Jotform, which is embedded, to redirect the user to another page as intended.
If that doesn't solve the issue, could you allow us to make a test submission in your live form on your website so we can investigate what's happening further?
Give it a try and let us know if you need any help.