Why is my DKIM signature invalid? (The p= field must be base64 encoded)


EQ Forum Admin
Staff member
Are you troubleshooting why your DKIM signature is not passing validation tests?

If you are getting the error "The p= field must be base64 encoded" that is most likely because of extra lines or white space, for example:

DKIM base64 errors.jpg

In this case it appears the p= was broken into multiple lines. Try removing the white space and retesting.
Last edited:


New Email
I am unable to edit my previous post because of this forum limits, so here is my update. i solved this and got working (pass) DKIM when i removed all spaces, quotation marks (") and remove backslash ( \ ) that is before last letter ( ; ) of whole DKIM record value.

Similar threads