While importing, I get this error - The CRSF token could not be verfied

While importing, I get this error - The CRSF token could not be verfied

This error happens when you try to upload a larger file than your PHP configuration allows.
In order to fix this issue, you need to edit your server php.ini file, usually located in /etc/ and increase the upload limit.
The 3 directives that you have to edit are:

memory_limit
upload_max_filesize
post_max_size

So look for them in the php.ini file and increase their values like:

memory_limit = 128M
upload_max_filesize = 128M
post_max_size = 128M

Then save the file and restart Apache/nginx in order for changes to take effect.

    • Related Articles

    • The CSRF token could not be verified

      The error “The CSRF token could not be verified” usually appears when you submit a form that contains a file upload field, and you select a file that is larger than the allowed file size for uploading on your server. AppMail has no control over this ...
    • Why do I get the “License error!” error and my app goes offline?

      You get this error for a few reasons, as follows: # - Your license info from your AppMail app, from Backend > Settings > License is outdated. Update it properly. # - Your license info on our servers is outdated. # - You are using AppMail as a SaaS ...
    • Why do I get this error - email delivery is temporary disabled?

      The error "Email delivery is temporary disabled." is specific to the following situations: 1. You have no active delivery server. 2. You have one/more active delivery servers, but they are over the hourly quota 3. You have a valid delivery server, ...
    • Error: Your credentials are incorrect

      This is how the error message might look in AppMail: Why am I receiving this error message, and how do I fix it? When attempting to add a delivery server in AppMail, you might encounter the error message: "Cannot create the permanent_fail webhook: ...
    • Unable to upload file for importing

      When you try to import your subscribers from a text or csv file, sometimes you might get an error like: Your form has a few errors, please fix them and try again! The file "filename.csv" cannot be uploaded. Only files of these MIME-types are allowed: ...