Custom Success Page not rendering after submitting form

The site name is https://devcanvasmarketingsite.netlify.app/

The form works, however the custom success page doesn’t work. I’ve looked through the threads and from my understanding of action, I should be able to enter the receive page as it works on the website. Is there anything wrong with the code? I’ve referred to the js file as ‘/received’ under the action path within the form tag, yet I’m still running into this issue. I’ve referred to this link for other help across this platform, yet I’m still running into the same errors (https://reactrouter.com/web/api/Hooks/usehistory). Please help me out!

Did you use the root path?

I used /received, which directs me to the page, yet I don’t see a file name for it within my code. If you simply just type /received after my website, it pulls the page.

Then I don’t really know what the problem is.
For me I just had to type all my folders starting from the root

Hiya, sorry you are having trouble getting your forms to work.

This Support Guide is the first port of call to debug any forms issues. There are also many other Support Guides for forms - you can find them here: #Netlify-support:support-guides

We also recommend trying to search the forums or look at topics tagged Netlify forms if you haven’t already - it’s likely your question was already asked by someone else!

If you are still having problems, please provide more information such as what you have already tried, and a link to your live form. :slight_smile: