Title: 420 Error when verifying api key
Last modified: July 31, 2018

---

# 420 Error when verifying api key

 *  Resolved [pavelwld](https://wordpress.org/support/users/pavelwld/)
 * (@pavelwld)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/420-error-when-verifying-api-key/)
 * Hi! I’m getting the error “A HTTP error occurred when validating the API. Error
   code: 420” after clicking “Verify API Key” button. Can’t find any information
   about such issue with mailgun. In addition, when i’m changing the last symbol
   in a public API key and trying to verify again, it gives me an error “Invalid
   API Key. Error code: 401 Unauthorized”. Could you help me with my issue ?

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

 *  Plugin Author [Jesin A](https://wordpress.org/support/users/jesin/)
 * (@jesin)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/420-error-when-verifying-api-key/#post-10543538)
 * Hi Pavel,
 * Are you sure you’re using the public key that starts with `pubkey-`?
 * Open this URL in your browser –
 *     ```
       https://api.mailgun.net/v3/address/validate?address=user@example.com
       ```
   
 * Enter “api” as the username and your public API key as the password. You should
   see JSON output on the screen. If you get a blank screen contact Mailgun.
 *  Thread Starter [pavelwld](https://wordpress.org/support/users/pavelwld/)
 * (@pavelwld)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/420-error-when-verifying-api-key/#post-10545372)
 * The message says “Account has exceeded its public validation limit” though the
   validation plugin vas installed a few days ago and there are only few successful
   forms submissions. Will contact Mailgun support
 *  Thread Starter [pavelwld](https://wordpress.org/support/users/pavelwld/)
 * (@pavelwld)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/420-error-when-verifying-api-key/#post-10549930)
 * The support helped to remove the limit.
    Thanks

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

The topic ‘420 Error when verifying api key’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/mailgun-email-validator_777777.svg)
 * [Mailgun Email Validator](https://wordpress.org/plugins/mailgun-email-validator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailgun-email-validator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailgun-email-validator/)
 * [Active Topics](https://wordpress.org/support/plugin/mailgun-email-validator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailgun-email-validator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailgun-email-validator/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [pavelwld](https://wordpress.org/support/users/pavelwld/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/420-error-when-verifying-api-key/#post-10549930)
 * Status: resolved