Title: Continuous 422 errors
Last modified: March 7, 2025

---

# Continuous 422 errors

 *  Resolved [katmac_aus](https://wordpress.org/support/users/katmac_aus/)
 * (@katmac_aus)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/continuous-422-errors/)
 * Hello. Your plugin had been working great for a few months. Then we got a notice
   saying we needed to re-authenticate. We did and it worked for a few weeks. This
   week however we are seeing this pattern:
    - Emails not sending
    - No error message showing on dashboard (like it did the first time it broke)
    - Check email logs and can see emails are failing.
    - Re-authorise our Office365 connection.
    - Test sending emails and they work.
    - Come back next day or two and they are failing again.
    - Repeat.
 * When we look at the email log they all have the same error info:
 * { “code”: 422, “message”: “Unauthorized”, “errors”: [ “Unauthorized” ] }
 * Please help.

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

 *  [markussss](https://wordpress.org/support/users/markussss/)
 * (@markussss)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/continuous-422-errors/#post-18350345)
 * Just adding that I am experiencing something related (not the same though), started
   on March 4th and repeated on March 8th in my case
 *     ```wp-block-code
       {  "code": 422,  "message": "SMTP Error: Could not connect to SMTP host. Failed to connect to server",  "errors": [    "SMTP Error: Could not connect to SMTP host. Failed to connect to server"  ],  "fallback": "Tried to send using fallback but failed. websitename",  "fallback_response": {    "code": 400,    "message": "",    "errors": []  }}
       ```
   
 *  Thread Starter [katmac_aus](https://wordpress.org/support/users/katmac_aus/)
 * (@katmac_aus)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/continuous-422-errors/#post-18360279)
 * Hi Fluent – any suggestions on this please?
 *  Thread Starter [katmac_aus](https://wordpress.org/support/users/katmac_aus/)
 * (@katmac_aus)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/continuous-422-errors/#post-18364251)
 * Hello. I just added Office365 to another site. Fresh install. And that too is
   getting the 422 error. Even though the settings say “our Outlook / Office365 
   Authentication has been enabled.No further action is needed.” When I send a test
   it fails and logs show the 422 error.
 *  Plugin Support [Ibrahim Sharif](https://wordpress.org/support/users/ibrahimsharif/)
 * (@ibrahimsharif)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/continuous-422-errors/#post-18372360)
 * Hello [@katmac_aus](https://wordpress.org/support/users/katmac_aus/),
 * Thanks for reaching out to us and providing detailed information about the issues
   you’re experiencing with FluentSMTP. I understand this is frustrating, especially
   since it was working well initially. The 422 “Unauthorized” error you’re seeing
   after re-authenticating points towards a problem with the token’s validity or
   the Client Secret’s configuration within your Azure environment.
 * Regarding the issues you have described for two different setups, I would like
   to primarily investigate on this problem, and for that, could you share the expiry
   of the token in the Azure while the Client Secret is being created?
 * This information will help us understand if the token is expiring sooner than
   expected, causing the repeated authentication issues.
 *  Thread Starter [katmac_aus](https://wordpress.org/support/users/katmac_aus/)
 * (@katmac_aus)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/continuous-422-errors/#post-18373776)
 * Thanks Ibrahim. We didnt have time to wait for a response so we ended up switching
   over to use Brevo for emails (as we only send a couple of emails a day via the
   website). So for this been working nicely on those sites.
 * We had their IT people setup azure so dont know what they set as the expiry so
   cannot confirm that. But I doubt they would have chosen 24 hours as the validity.

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

The topic ‘Continuous 422 errors’ is closed to new replies.

 * ![](https://ps.w.org/fluent-smtp/assets/icon.svg?rev=2458343)
 * [FluentSMTP - WP SMTP Plugin with Amazon SES, SendGrid, MailGun, Postmark, Google and Any SMTP Provider](https://wordpress.org/plugins/fluent-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/fluent-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/fluent-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/fluent-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fluent-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fluent-smtp/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [katmac_aus](https://wordpress.org/support/users/katmac_aus/)
 * Last activity: [1 year, 2 months ago](https://wordpress.org/support/topic/continuous-422-errors/#post-18373776)
 * Status: resolved