Title: Error Code: 10002 When Creating Button
Last modified: August 24, 2016

---

# Error Code: 10002 When Creating Button

 *  Resolved [Dave Loebig](https://wordpress.org/support/users/pacesettermedia/)
 * (@pacesettermedia)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/error-code-10002-when-creating-button/)
 * When creating a button, I’m getting this:
 * Error Code: 10002
    Error Details: Security header is not valid
 * Thanks.
 * [https://wordpress.org/plugins/paypal-wp-button-manager/](https://wordpress.org/plugins/paypal-wp-button-manager/)

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

 *  Plugin Contributor [angelleye](https://wordpress.org/support/users/angelleye/)
 * (@angelleye)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/error-code-10002-when-creating-button/#post-6147053)
 * That error means that the API credentials being used are not correct. This could
   mean that one of the values is wrong, or it could also mean that you have live
   credentials entered when the tool is using the sandbox or vice-verse.
 * If you’re using live credentials make sure the Sandbox / Test mode is disabled.
   If you are using sandbox credentials make sure that it is enabled.
 *  Thread Starter [Dave Loebig](https://wordpress.org/support/users/pacesettermedia/)
 * (@pacesettermedia)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/error-code-10002-when-creating-button/#post-6147061)
 * Thank you for the fast response.
 * That’s it exactly. I was using live account info in the sandbox fields.
 * After some experimenting, I found my sandbox accounts on Paypal and used all 
   the info from a Business Sandbox account. Then, in WP under Settings > WP Paypal
   Button Manager, I entered that info in the (Sandbox) section, and it works.
 * Thanks.
 *  Plugin Contributor [angelleye](https://wordpress.org/support/users/angelleye/)
 * (@angelleye)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/error-code-10002-when-creating-button/#post-6147062)
 * Glad to hear it. Let me know if you have any other questions. I know we sort 
   of lack documentation at the moment.
 * The 1.0 update will be coming out soon and I’ll be updating documentation at 
   that time.

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

The topic ‘Error Code: 10002 When Creating Button’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/paypal-wp-button-manager_dbe3f5.svg)
 * [PayPal WP Button Manager](https://wordpress.org/plugins/paypal-wp-button-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/paypal-wp-button-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/paypal-wp-button-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/paypal-wp-button-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/paypal-wp-button-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/paypal-wp-button-manager/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [angelleye](https://wordpress.org/support/users/angelleye/)
 * Last activity: [10 years, 12 months ago](https://wordpress.org/support/topic/error-code-10002-when-creating-button/#post-6147062)
 * Status: resolved