Getting Error 400! The CSRF token could not be verified

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?
 

twisted1919

Administrator
Staff member
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.
 

frm.mwz

Well-Known Member
i tried it, but still same error.

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
 
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.
 

frm.mwz

Well-Known Member
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.

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
 
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?
 

frm.mwz

Well-Known Member
what is that? in the putty?
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

can you specific the detail the process? im not sure this list process :(
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)
 
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 :(
 
Top