Title: Error Code: 10002
Last modified: March 8, 2017

---

# Error Code: 10002

 *  Resolved [johnph88](https://wordpress.org/support/users/johnph88/)
 * (@johnph88)
 * [9 years ago](https://wordpress.org/support/topic/error-code-10002/)
 * Hi,
 * on click < Create PayPal Button > the following is returned
 * Error Code: 10002
    Error Details: Security header is not valid
 * Any idea? I just installed the plugin and I’m in my first attempt to create a
   button.
 * TxRgrds, John

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

 *  Plugin Contributor [angelleye](https://wordpress.org/support/users/angelleye/)
 * (@angelleye)
 * [9 years ago](https://wordpress.org/support/topic/error-code-10002/#post-8891565)
 * That error means the API credentials are not correct. Did you create a company
   and enter API credentials in the plugin settings? You need to make sure those
   values are correct, and also make sure you aren’t putting sandbox account credentials
   into the live fields or vice-versa.
 *  Thread Starter [johnph88](https://wordpress.org/support/users/johnph88/)
 * (@johnph88)
 * [9 years ago](https://wordpress.org/support/topic/error-code-10002/#post-8892436)
 * Thank You. Problem solved.
 * I was in sandbox.
 * Happy Coding ! – Gtrz. John

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

The topic ‘Error Code: 10002’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [johnph88](https://wordpress.org/support/users/johnph88/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/error-code-10002/#post-8892436)
 * Status: resolved