Title: Error posting Eway request: 401, Unauthorized
Last modified: April 12, 2022

---

# Error posting Eway request: 401, Unauthorized

 *  Resolved [juice4u](https://wordpress.org/support/users/juice4u/)
 * (@juice4u)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/error-posting-eway-request-401-unauthorized/)
 * Hi,
 * We are experiencing this error when trying to submit payments using Eway Gravity
   Forms.
 * Eway is already set up for this sites Woocommerce store, so we just copied the
   same credentials across (using the same API / password).
 * The URL on which we are using the Eway Gravity form is different to the Woocommerce
   checkout URL…. Would that be the reason?
 * Do we have to set up a different API key in our Eway account to use with the 
   Gravity Form?
 * Your assistance in helping us fix this is appreciated.
 * Cheers.

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

 *  Plugin Author [webaware](https://wordpress.org/support/users/webaware/)
 * (@webaware)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/error-posting-eway-request-401-unauthorized/#post-15549503)
 * G’day juice4u,
 * Make sure that you change “Use Sandbox (testing environment)” to No when using
   live payments. Trying to use the live API key / password will fail on the sandbox.
 * Did you also copy across the Client Side Encryption certificate? If not, you’ll
   get a different error once you’ve fixed the 401 error.
 * cheers,
    Ross
 *  Thread Starter [juice4u](https://wordpress.org/support/users/juice4u/)
 * (@juice4u)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/error-posting-eway-request-401-unauthorized/#post-15549511)
 * Got it. Works fine in live mode (not sandbox).
 * Thanks!!!
 *  Plugin Author [webaware](https://wordpress.org/support/users/webaware/)
 * (@webaware)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/error-posting-eway-request-401-unauthorized/#post-15549531)
 * No worries! If you want to do any testing in the [Sandbox](https://go.eway.io/s/article/What-is-the-Sandbox-and-how-do-I-get-it),
   you’ll need to [sign up for a Sandbox account](https://go.eway.io/s/article/How-do-I-set-up-my-Sandbox-API-Key-and-password).
 * cheers,
    Ross

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

The topic ‘Error posting Eway request: 401, Unauthorized’ is closed to new replies.

 * ![](https://ps.w.org/gravityforms-eway/assets/icon-256x256.png?rev=2590625)
 * [Gravity Forms Eway](https://wordpress.org/plugins/gravityforms-eway/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gravityforms-eway/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gravityforms-eway/)
 * [Active Topics](https://wordpress.org/support/plugin/gravityforms-eway/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gravityforms-eway/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gravityforms-eway/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [webaware](https://wordpress.org/support/users/webaware/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/error-posting-eway-request-401-unauthorized/#post-15549531)
 * Status: resolved