Title: Error saving customer. Reason: Invalid string:
Last modified: May 29, 2025

---

# Error saving customer. Reason: Invalid string:

 *  Resolved [lisaportus](https://wordpress.org/support/users/lisaportus/)
 * (@lisaportus)
 * [1 year ago](https://wordpress.org/support/topic/error-saving-customer-reason-invalid-string/)
 * Hi. A customer has contacted me saying that they couldn’t place an order on my
   woocommerce site. He gets this message – Error saving customer. Reason: Invalid
   string: (his-email-address); must be at most 20 characters. I’m at a loss to 
   remedy this. I’ve tried to repricate the issue myself but it goes through without
   problem. Any ideas? Thank you
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-saving-customer-reason-invalid-string%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Moses M. (woo-hc)](https://wordpress.org/support/users/mosesmedh/)
 * (@mosesmedh)
 * [1 year ago](https://wordpress.org/support/topic/error-saving-customer-reason-invalid-string/#post-18490038)
 * Hi [@lisaportus](https://wordpress.org/support/users/lisaportus/),
 * I understand how confusing this must have been for you considering you were able
   to checkout while the user can’t. I know this can be frustrating but be rest 
   assured we’re here to assist.
 * The error message about the email needing to be at most 20 characters indicates
   that there is a restriction on the email field length somewhere in your WooCommerce
   setup. Normally, WooCommerce doesn’t limit email addresses to such a short length,
   so this is likely caused by a plugin, custom code, or your theme that’s enforcing
   this limit.
 * To better understand your setup and help troubleshoot, could you please share
   your WooCommerce System Status Report? You can find it by going to **_WooCommerce
   → Status → Get system report → Copy for support_**. Paste the report on gist.
   github.com and share the link here.
 * This information will help identify any plugin or configuration that might be
   causing the issue. Looking forward to your response!
 *  Thread Starter [lisaportus](https://wordpress.org/support/users/lisaportus/)
 * (@lisaportus)
 * [1 year ago](https://wordpress.org/support/topic/error-saving-customer-reason-invalid-string/#post-18490411)
 * Hi Moses. Thanks so much for your reply. It is indeed frustrating! I do hope 
   you can help identify what’s going on. I’ve done as you said and copied the system
   report here: [https://gist.github.com/lisaportus/bd7a97d30bf4d2a54bfcc16bc31043a7](https://gist.github.com/lisaportus/bd7a97d30bf4d2a54bfcc16bc31043a7)
 * I look forward to hearing from you. Thank you! Lisa
 *  [LovingBro (woo-hc)](https://wordpress.org/support/users/lovingbro/)
 * (@lovingbro)
 * [1 year ago](https://wordpress.org/support/topic/error-saving-customer-reason-invalid-string/#post-18490589)
 * Hi [@lisaportus](https://wordpress.org/support/users/lisaportus/),
 * Thanks for sharing the System Status Report and for the extra details. I completely
   understand how confusing this must be, especially since checkout works fine for
   you but not for the customer who reported the issue. That type of inconsistency
   can definitely make things harder to pin down.
 * Just to help narrow things down further, could you let us know when this issue
   was first reported? Was it after a recent update to WooCommerce or any other 
   plugins? Also, has it happened to just this one customer or have other customers
   reported similar issues?
 * From the message the customer saw, it looks like something on your site is enforcing
   a 20-character limit on the email field, which isn’t standard WooCommerce behavior.
   Based on the list of active plugins, one possibility is the **Password Strength
   Settings for WooCommerce** plugin. It’s not designed to affect the email field
   directly, but custom security-related plugins can sometimes introduce unexpected
   validation rules.
 * I tried placing a test order on your site using an email under 20 characters,
   but I wasn’t able to complete checkout since a credit card is required. It would
   be helpful if you could try replicating the error yourself using the same email
   the customer provided, or test with other long email addresses to see if the 
   issue comes up again.
 * If the issue persists after that test, I recommend doing a quick plugin conflict
   test. You can do this by deactivating all plugins except WooCommerce, switching
   to the default Storefront theme, and testing the checkout again. If it works 
   without issues, gradually reactivate your plugins one at a time to identify what
   might be introducing the limit. There’s a step-by-step guide on how to do that
   here: [https://woocommerce.com/document/how-to-test-for-conflicts/#deactivation-and-testing](https://woocommerce.com/document/how-to-test-for-conflicts/#deactivation-and-testing).
 * Let us know what you find after trying that. I’ll be happy to continue helping
   from there.
 *  [LovingBro (woo-hc)](https://wordpress.org/support/users/lovingbro/)
 * (@lovingbro)
 * [1 year ago](https://wordpress.org/support/topic/error-saving-customer-reason-invalid-string/#post-18501450)
 * Hi [@lisaportus](https://wordpress.org/support/users/lisaportus/),
 * As there’s been no follow-up, I’ll consider this resolved for the time being.
   We’re happy to jump back in if anything comes up!
 * If WooCommerce has been useful for your store and you appreciate the support 
   you have received, we’d truly appreciate it if you could leave us a quick review
   here: [https://wordpress.org/support/plugin/woocommerce/reviews/#new-post](https://wordpress.org/support/plugin/woocommerce/reviews/#new-post)

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

The topic ‘Error saving customer. Reason: Invalid string:’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [LovingBro (woo-hc)](https://wordpress.org/support/users/lovingbro/)
 * Last activity: [1 year ago](https://wordpress.org/support/topic/error-saving-customer-reason-invalid-string/#post-18501450)
 * Status: resolved