Title: Invalid Api Key Error
Last modified: February 10, 2025

---

# Invalid Api Key Error

 *  Resolved [patrickmath](https://wordpress.org/support/users/patrickmath/)
 * (@patrickmath)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/invalid-api-key-error-2/)
 * I am having trouble setting up this plugin. I have gotten my API credentials 
   through USPS developer tools and put them into the plugin settings. But the “
   API Connection Status” in plugin settings shows “InvalidApiKey: The client application
   credentials provided in the request are missing, invalid, inactive or not approved
   for access.” I am wondering if it is a problem with my “app” in USPS dev tools,
   as it says I only have access to the “Public Access I” product.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Finvalid-api-key-error-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [WojtekPS](https://wordpress.org/support/users/wojtekpyrgies/)
 * (@wojtekpyrgies)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/invalid-api-key-error-2/#post-18296295)
 * Hi [@patrickmath](https://wordpress.org/support/users/patrickmath/)
   The error
   message you’re encountering suggests there might be an issue with the USPS API
   credentials you’ve entered. Here are a few steps you can take to troubleshoot
   the problem:
 * 1. Double-check that the Consumer Key and Consumer Secret are entered correctly
   without any typos or extra spaces, especially if they were copied and pasted.
   
   2. Clear your browser cache and cookies, then try to reauthorize the plugin.3.
   Lastly, please set a free site in our [demo](https://octol.io/demo-hs), paste
   your credentials and verify if you’re getting the same error.
 * Please let me know if the issue continues after trying the above steps.
   RegardsWojtek
 *  Thread Starter [patrickmath](https://wordpress.org/support/users/patrickmath/)
 * (@patrickmath)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/invalid-api-key-error-2/#post-18305358)
 * [@wojtekpyrgies](https://wordpress.org/support/users/wojtekpyrgies/) Thank you
   for your reply! I remade the app on the USPS developer tools page, and then put
   in the new credentials to the plugin, and it seems to be working!

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

The topic ‘Invalid Api Key Error’ is closed to new replies.

 * ![](https://ps.w.org/flexible-shipping-usps/assets/icon.svg?rev=2737986)
 * [Shipping Live Rates for USPS for WooCommerce](https://wordpress.org/plugins/flexible-shipping-usps/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/flexible-shipping-usps/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/flexible-shipping-usps/)
 * [Active Topics](https://wordpress.org/support/plugin/flexible-shipping-usps/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/flexible-shipping-usps/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/flexible-shipping-usps/reviews/)

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)
 * [credentials](https://wordpress.org/support/topic-tag/credentials/)

 * 2 replies
 * 2 participants
 * Last reply from: [patrickmath](https://wordpress.org/support/users/patrickmath/)
 * Last activity: [1 year, 2 months ago](https://wordpress.org/support/topic/invalid-api-key-error-2/#post-18305358)
 * Status: resolved