Title: Error: Bad Request(invalid_grant)
Last modified: November 10, 2016

---

# Error: Bad Request(invalid_grant)

 *  [BrokerAgent](https://wordpress.org/support/users/brokeragent/)
 * (@brokeragent)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/error-bad-requestinvalid_grant-2/)
 * Installed, setup, and have been using Postman since last year with no issue. 
   Have been away from the site for a while and in coming back it is not sending.
 * When running a test email get this error: Bad Request(invalid_grant)
 * Ran through the set up wizard and gmail Oath still has the same client and ID
   and Secret. Other settings…
 * outgoing smtp.gmail.com
    security is STARTTLS authentication is Oath 2.0
 * Diagnostic Test:
 * OS: Linux ps380115 3.1.9-vs2.3.2.5vs2.3.2.5+ #3 SMP Wed Feb 12 13:51:29 PST 2014
   x86_64
    PHP: Linux 5.6.24 C PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl
   =Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=Yes, zlib_encode=Yes WordPress:
   4.6.1 en_US UTF-8 WordPress Theme: Implicit WordPress Plugins: AdRotate Professional,
   AWeber Web Forms, BrokerAgentAdvisor.com helper, Business Directory Plugin – 
   Claim Listings Module, Business Directory Plugin – Featured Levels Module, Business
   Directory Plugin – Google Maps Module, Business Directory Plugin – PayPal Gateway
   Module, Business Directory Plugin, Business Directory Plugin – Ratings Module,
   Business Directory Plugin – Regions Module, Business Directory Plugin – ZIP Search
   Module, Facebook Comments Plugin, Official Mad Mimi Signup Forms, Mashshare Share
   Buttons, NextGEN Gallery, Ninja Forms, Postman SMTP, Pretty Link Lite, Sweet 
   Captcha, Social Media and Share Icons (Ultimate Social Media), WP Super Cache
   WordPress wp_mail Filter(s): wp_staticize_emoji_for_email WordPress wp_mail_from_name
   Filter(s): swtcptcf_email_name_filter Postman: 1.7.2 Postman Sender Domain (Envelope
   |Message): brokeragentadvisor.com | brokeragentadvisor.com Postman Prevent Message
   Sender Override (Email|Name): No | No Postman Active Transport: SMTP (smtp:tls:
   oauth2://smtp.gmail.com:587) Postman Active Transport Status (Ready|Connected):
   Yes | Yes Postman Deliveries (Success|Fail): 1951 | 37
 * Transport Socket Status* Service Available Server ID Authentication
    None Login
   Plain CRAM-MD5 OAuth 2.0 SMTP smtp.gmail.com:25 Open 🔒 SMTP-STARTTLS gmail.com
   No Yes Yes No Yes SMTP smtp.gmail.com:465 Open 🔒 SMTPS gmail.com No Yes Yes 
   No Yes SMTP smtp.gmail.com:587 Open 🔒 SMTP-STARTTLS gmail.com No Yes Yes No 
   Yes Gmail API [http://www.googleapis.com:443](http://www.googleapis.com:443) 
   Open 🔒 HTTPS googleapis.com n/a Mandrill API mandrillapp.com:443 Open 🔒 HTTPS
   mandrillapp.com n/a SendGrid API api.sendgrid.com:443 Open 🔒 HTTPS sendgrid.
   com n/a * According to portquiz.net
 * Summary:
 * ✅ 🔒 Port 443 can be used with the SendGrid API.
    ✅ 🔒 Port 587 can be used
   for SMTP to smtp.gmail.com. ✅ 🔒 Port 25 can be used for SMTP to smtp.gmail.
   com. ✅ 🔒 Port 443 can be used with the Gmail API. ✅ 🔒 Port 443 can be used
   with the Mandrill API. ✅ 🔒 Port 465 can be used for SMTP to smtp.gmail.com.

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

 *  [Kim White](https://wordpress.org/support/users/kimwhite/)
 * (@kimwhite)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/error-bad-requestinvalid_grant-2/#post-8453484)
 * SAME issues started a week ago.
 * everything says Bad Request(invalid_grant)
 * Any Ideas what’s up?
 * Kim White
 *  [tuzz](https://wordpress.org/support/users/tuzz/)
 * (@tuzz)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/error-bad-requestinvalid_grant-2/#post-8472896)
 * Same issue for me, it started happening 2-3 weeks ago with no changes made to
   the settings or website. Anyone have a fix?
 *  [Anthony Attard](https://wordpress.org/support/users/anthonyattard/)
 * (@anthonyattard)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/error-bad-requestinvalid_grant-2/#post-8496290)
 * Reauthenticate with Google. For some reason the connection was removed and simply
   needs to be redone.

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

The topic ‘Error: Bad Request(invalid_grant)’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/postman-smtp_7c7b78.svg)
 * [Postman SMTP Mailer/Email Log](https://wordpress.org/plugins/postman-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/postman-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/postman-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/postman-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/postman-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/postman-smtp/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [Anthony Attard](https://wordpress.org/support/users/anthonyattard/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/error-bad-requestinvalid_grant-2/#post-8496290)
 * Status: not resolved