1. CodersEden Marketplace for designers and developers

Getting Error 400! The CSRF token could not be verified

Discussion in 'General discussions' started by Rajendra Singh, Oct 19, 2016.

  1. Rajendra Singh

    Rajendra Singh Member

    Joined:
    Jul 6, 2016
    Messages:
    61
    Likes Received:
    5
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    3
    Hi,

    I am facing issue while verifying new SMTP in mailwizz. I added new SMTP and sent verify email, when i clicked on link, after entering credentials got following error.

    Error 400!

    The CSRF token could not be verified.

    can anybody help me out?
     
  2. twisted1919

    twisted1919 Administrator Staff Member

    Joined:
    Dec 27, 2014
    Messages:
    10,659
    Likes Received:
    2,472
    Try refreshing the page, the csrf token fails validation if you stay too long in the page or if the validation simply takes just toooo much time, case in which there's something seriosuly wrong with the smtp server.
     
  3. Rajendra Singh

    Rajendra Singh Member

    Joined:
    Jul 6, 2016
    Messages:
    61
    Likes Received:
    5
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    3
    i tried it, but still same error.
     
  4. frm.mwz

    frm.mwz Well-Known Member

    Joined:
    Mar 8, 2016
    Messages:
    3,725
    Likes Received:
    684
    S.E:
    2020-11-29 06:30:25
    L.T:
    Regular
    L.C:
    8
    clear all caches or try a different browser (e.g. rarely an addon can cause this)

    check host's mailbox instructions of email server and make sure they match DS setup (sometimes/rarely errors are not displayed)

    if you have httpS enabled and tracking, it might not work, then either get that to work first and then verify, or switch httpS/track off and verify first
     
  5. Rajendra Singh

    Rajendra Singh Member

    Joined:
    Jul 6, 2016
    Messages:
    61
    Likes Received:
    5
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    3
    i am using tracking url. when i turned it off, i was able to verify smtp. then i turned on tracking url, same issue again.
    I tried all possible ways like clear cookies, change browser etc.
    result: issue is same.
     
  6. frm.mwz

    frm.mwz Well-Known Member

    Joined:
    Mar 8, 2016
    Messages:
    3,725
    Likes Received:
    684
    S.E:
    2020-11-29 06:30:25
    L.T:
    Regular
    L.C:
    8
    this means your tracking URLĀ“is not working as it should, but all DS stuff is ok

    to make tracking work, please see my posts re tracking and httpS, what it says there, fully works on my end
     
  7. carlos alvarez

    carlos alvarez Member

    Joined:
    Aug 30, 2016
    Messages:
    94
    Likes Received:
    17
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    Dear @twisted1919

    I am getting the "
    Error 400! The CSRF token could not be verified." every time I try to save changes on any backend page while using MW 1.3.8.0 version. On previous MW version 1.3.7.8 this error was never shown to me.

    How can I solve this?
     
  8. carlos alvarez

    carlos alvarez Member

    Joined:
    Aug 30, 2016
    Messages:
    94
    Likes Received:
    17
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    The error dissapear automatically when I go back and press the save button again.
     
  9. carlos alvarez

    carlos alvarez Member

    Joined:
    Aug 30, 2016
    Messages:
    94
    Likes Received:
    17
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
  10. rockstarproject7

    rockstarproject7 New Member

    Joined:
    Jan 29, 2019
    Messages:
    16
    Likes Received:
    0
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    im having same issue here
     
  11. frm.mwz

    frm.mwz Well-Known Member

    Joined:
    Mar 8, 2016
    Messages:
    3,725
    Likes Received:
    684
    S.E:
    2020-11-29 06:30:25
    L.T:
    Regular
    L.C:
    8
    which mwz version?
    what exactly happens?
    what did u try so far?
     
  12. rockstarproject7

    rockstarproject7 New Member

    Joined:
    Jan 29, 2019
    Messages:
    16
    Likes Received:
    0
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    im using Version 1.7.2 - 2019-01-21

    i dont know where is the issue everything setting is right
     
  13. frm.mwz

    frm.mwz Well-Known Member

    Joined:
    Mar 8, 2016
    Messages:
    3,725
    Likes Received:
    684
    S.E:
    2020-11-29 06:30:25
    L.T:
    Regular
    L.C:
    8
    Please post screen shots of
    all related settings and
    outcome when you browse the page where the error occurs.
     
  14. rockstarproject7

    rockstarproject7 New Member

    Joined:
    Jan 29, 2019
    Messages:
    16
    Likes Received:
    0
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    I cannot upload both CSV live or CSV Queue
     

    Attached Files:

  15. frm.mwz

    frm.mwz Well-Known Member

    Joined:
    Mar 8, 2016
    Messages:
    3,725
    Likes Received:
    684
    S.E:
    2020-11-29 06:30:25
    L.T:
    Regular
    L.C:
    8
    Please try this:
    # log out
    # on cli:
    clear caches
    clear mutexes
    reset permissions
    # log in
    # try again
    # report back with result
     
  16. rockstarproject7

    rockstarproject7 New Member

    Joined:
    Jan 29, 2019
    Messages:
    16
    Likes Received:
    0
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    what is that? in the putty?
     
  17. rockstarproject7

    rockstarproject7 New Member

    Joined:
    Jan 29, 2019
    Messages:
    16
    Likes Received:
    0
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    can you specific the detail the process? im not sure this list process :(
     
  18. frm.mwz

    frm.mwz Well-Known Member

    Joined:
    Mar 8, 2016
    Messages:
    3,725
    Likes Received:
    684
    S.E:
    2020-11-29 06:30:25
    L.T:
    Regular
    L.C:
    8
    an outline of steps, and on cli (ssh e.g. with putty) you can do the console commands for clearing caches and mutexes, and reset perms

    use the cron command up until console.php, when you call it, see the help section of it, this will tell you the commands to use for above
    (see in the app the list of cron jobs, this will tell the whole command e.g. php -q /home/.../console.php)
     
  19. rockstarproject7

    rockstarproject7 New Member

    Joined:
    Jan 29, 2019
    Messages:
    16
    Likes Received:
    0
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    can you elaborate the process

    Please try this:
    # log out
    # on cli:
    clear caches
    clear mutexes
    reset permissions
    # log in
    # try again
    # report back with result

    im really new here... I dont see any pdf file manual how to setup perfect :(
     
  20. frm.mwz

    frm.mwz Well-Known Member

    Joined:
    Mar 8, 2016
    Messages:
    3,725
    Likes Received:
    684
    S.E:
    2020-11-29 06:30:25
    L.T:
    Regular
    L.C:
    8
    # pls see procedure in post above: https://forum.mailwizz.com/posts/38057
    # re setup: there are a number of guides on the forum for loads of setup variants
     

Share This Page