Title: Wizard SendGrid API Key
Last modified: November 17, 2023

---

# Wizard SendGrid API Key

 *  Resolved [Cooper Dalrymple](https://wordpress.org/support/users/ogrecooper/)
 * (@ogrecooper)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/wizard-sendgrid-api-key/)
 * When using the setup wizard with the SendGrid API, the API key is saved incorrectly(
   likely some form of base64 encoding without decoding) and causing errors when
   attempting to send a test email. This has been tested on multiple domains and
   was starting to be reported after the recent release of version 2.8.3. Setting
   the API key within the settings page does not have this issue and test emails
   are successfully delivered.
 * **Example API Key Manipulation:**
 * Before Save: `SG.B11l#########################################################
   _lCnU`
   After Save: `U0cuQjE################################################################################
   sQ25V`
 * **Test Email Error Message:**
 * `Code: 401, Message: Unauthorized, Body: {"errors":[{"message":"The provided 
   authorization grant is invalid, expired, or revoked","field":null,"help":null}]}`

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

 *  [furqanfazal](https://wordpress.org/support/users/furqanfazal/)
 * (@furqanfazal)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/wizard-sendgrid-api-key/#post-17211526)
 * Hi [@ogrecooper](https://wordpress.org/support/users/ogrecooper/),
 * I hope you are doing good.
 * Thank you for contacting us regarding the issue you are facing. Our technical
   team is looking into this matter and will get back to you soon with a solution.
 * Thank you for your patience and understandings.
 * Thanks and regards,
   Support Team – WPExperts 
 *  [furqanfazal](https://wordpress.org/support/users/furqanfazal/)
 * (@furqanfazal)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/wizard-sendgrid-api-key/#post-17214836)
 * Hi [@ogrecooper](https://wordpress.org/support/users/ogrecooper/),
 * I am pleased to inform you that the issue has been fixed. Please update the plugin
   to the latest version **2.8.4**. Let us know if everything is now working as 
   expected on your end.
 * Thank you for your patience and understanding.
 * Thanks and regards,
   Support Team – WPExperts  

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

The topic ‘Wizard SendGrid API Key’ is closed to new replies.

 * ![](https://ps.w.org/post-smtp/assets/icon-128x128.gif?rev=3209655)
 * [Post SMTP – Complete Email Deliverability and SMTP Solution with Email Logs, Alerts, Backup SMTP & Mobile App](https://wordpress.org/plugins/post-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/post-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-smtp/reviews/)

## Tags

 * [setup wizard](https://wordpress.org/support/topic-tag/setup-wizard/)

 * 2 replies
 * 2 participants
 * Last reply from: [furqanfazal](https://wordpress.org/support/users/furqanfazal/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/wizard-sendgrid-api-key/#post-17214836)
 * Status: resolved