Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • René 327 posts 852 karma points
    Aug 29, 2017 @ 21:05

    Umbraco forms - RequestVerificationToken

    Hi I have used forms a lot, and love it.

    I have this strange error.

    Umbraco version 7.6.5 assembly: 1.0.6428.37121 Current installed version of Umbraco Forms: "6.0.2"

    The form is rendering and all is working.

    When i try to send the form i get this error:

    enter image description here

    Serverfejl i programmet '/'. Ressourcen blev ikke fundet. Beskrivelse: HTTP 404. Den ressource, du søger efter, eller en af dens afhængigheder, er muligvis blevet fjernet eller er ikke tilgængelig i øjeblikket. Kontroller, om følgende URL-adresse er stavet korrekt.

    Ønsket URL-adresse: /umbraco/RenderMvc

    Sorry for the danish ;)

    I get this in the url :


    Any suggestion?

    Kind regards René

  • Dennis Aaen 4455 posts 17966 karma points admin hq c-trib
    Aug 30, 2017 @ 06:09
    Dennis Aaen

    Hi René

    Have you seen the documentation about how to enable AntiForgeryToken

    Hope this helps,


  • René 327 posts 852 karma points
    Aug 31, 2017 @ 07:53

    HI Dennis

    Thanks for your time answering, but it did not help.

    I have to set it to False/True and it changes nothing.

    <setting key="EnableAntiForgeryToken" value="True" />

    I get this error in the console:

    enter image description here

    Do you have any suggestions?


  • René 327 posts 852 karma points
    Aug 31, 2017 @ 08:27

    Hi Dennis

    I found the error.. it was mine :(

    I had wrapped the Umbraco.RenderMacro in a form tag instead of a div tag. So there were two form tags. Arrgh :)

    @Umbraco.RenderMacro("renderUmbracoForm", new { FormGuid = form, FormTheme=formDesign, ExcludeScripts = "0" })

    Thanks for your time.


Please Sign in or register to post replies

Write your reply to: