Skip to main content
State: Incorrect enum value

Learn how to fix the "Incorrect enum value" error by updating invalid state codes to the correct two-letter codes

Updated over 4 months ago

This article provides guidance on resolving the "Incorrect enum value" error, which occurs when an invalid state code is used during order processing.


Understanding State Codes

To ensure accurate order processing, it's essential to use the correct two-letter state codes. For instance, use "CA" instead of "California." For a complete list of valid state codes, please refer to this article.


Updating Customer Addresses

If you encounter the "Incorrect enum value" error, you can easily rectify it by updating the customer's address on the order page. Follow these steps: update your customer's address on the order page.

edit_address.gif
Did this answer your question?