I’ve created a site with SvelteKit and added a Netlify form, but it only returns a 404.
The form appears in the site’s settings in Netlify, I have prerendering enabled in SvelteKit, the form fields all seem to be correct.
Hi @197Max, thanks for the feedback.
If possible can you share a code snippet of your form or the repository of your project containing the form for me to help with the debugging?
Make sure you have installed the SvelteKit Netlify adapter if you haven’t done so already.
npm i -D @sveltejs/adapter-netlify
Also make sure you have registered the adapter in the svelte.config.js file.
If the above does not work or you have already done the suggestions above, kindly follow the link below to see if the suggestions there helps.
The post is similar to your question asked.
Netlify adapter is installed and registered in svelte.config.js, i’ve added the javascript from that example and it’s logging the success message to the console but still getting a 404 error and nothing is showing in the netlify dashboard
Hi @197Max, at this point its possible your issue would require further investigation from Netlify’s end.
I will report your issue to a Netlify Staff.
Thanks.