Title: 403 Gmail auth error &#8211; contacted hosting
Last modified: October 8, 2018

---

# 403 Gmail auth error – contacted hosting

 *  [littlereddiesel](https://wordpress.org/support/users/littlereddiesel/)
 * (@littlereddiesel)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/403-gmail-auth-error-contacted-hosting/)
 * Hi there,
    I get the 403 error when I try to authorise my connection too. My 
   URL is: [https://www.acevetsupplies.co.uk/wp-admin/options-general.php?page=wp-mail-smtp&tab=auth&code=4/cgA6R-etZMDnUi6O9kUsIjnLvTZhxkSS5RpmaVmkpxi1wQtL6MnSEBPpKHMTbaTJ6A0W4OFhiHTvdpVmsQnwvAo&scope=https://mail.google.com/](https://www.acevetsupplies.co.uk/wp-admin/options-general.php?page=wp-mail-smtp&tab=auth&code=4/cgA6R-etZMDnUi6O9kUsIjnLvTZhxkSS5RpmaVmkpxi1wQtL6MnSEBPpKHMTbaTJ6A0W4OFhiHTvdpVmsQnwvAo&scope=https://mail.google.com/)
 * Have contacted hosting support and asked them to disable specific rules within
   Mod_Security as you’ve previously advised. They have come back and said “I just
   give you the full permission to edit the needed file and folder on WordPress,
   Also there is no issues from the server end as I checked the server logs and 
   there is nothing wrong.”
 * Please could you advise? Having been having problems for weeks now.
 * Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Slava Abakumov](https://wordpress.org/support/users/slaffik/)
 * (@slaffik)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/403-gmail-auth-error-contacted-hosting/#post-10774105)
 * Hi [@littlereddiesel](https://wordpress.org/support/users/littlereddiesel/),
 * What kind of server log did they look at? There are Apache access/error logs,
   PHP error log, possible Nginx access/error logs, `mod_security` logs etc.
    They
   need to check `modsec_audit.log` (or named similar, but specifically for `mod_security`).
 *  Thread Starter [littlereddiesel](https://wordpress.org/support/users/littlereddiesel/)
 * (@littlereddiesel)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/403-gmail-auth-error-contacted-hosting/#post-10774553)
 * Thanks for getting back to me. I copied and pasted your reply to them and they
   have just sent me a zip of access and error logs – just apache ones. One of the
   errors appearing frequently in these is: ‘No matching DirectoryIndex (index.php,
   index.html,index.htm,index.cgi,index.rb,index.py) found, and server-generated
   directory index forbidden by Options directive’ – is this relevant/helpful?
    
   Quite frustrated as they don’t seem willing to help me and have just repeatedly
   changed file permissions on the server to no avail. As I don’t fully understand
   this could you possibly put together for me a question or set of directions they’ll
   need to follow to check the modsec_audit.log? Apologies this has been a painful
   process so far!
    -  This reply was modified 7 years, 9 months ago by [littlereddiesel](https://wordpress.org/support/users/littlereddiesel/).
 *  [janarthanmano](https://wordpress.org/support/users/janarthanmano/)
 * (@janarthanmano)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/403-gmail-auth-error-contacted-hosting/#post-11099855)
 * Do you have plesk to manage your website and domains? I got this fixed by disabling
   the web application firewall and authenticated the mail settings and switched
   the firewall on again.
 *  [wynaco](https://wordpress.org/support/users/wynaco/)
 * (@wynaco)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/403-gmail-auth-error-contacted-hosting/#post-11290988)
 * [@janarthanmano](https://wordpress.org/support/users/janarthanmano/) your solution
   worked great for me (disable Plesk WAP). Simple as can be, no code, no muss, 
   no fuss. 30 seconds and it’s done. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘403 Gmail auth error – contacted hosting’ is closed to new replies.

 * ![](https://ps.w.org/wp-mail-smtp/assets/icon-256x256.png?rev=1755440)
 * [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin](https://wordpress.org/plugins/wp-mail-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mail-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mail-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mail-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mail-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mail-smtp/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [wynaco](https://wordpress.org/support/users/wynaco/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/403-gmail-auth-error-contacted-hosting/#post-11290988)
 * Status: not resolved