I am facing a strange issue while adding Customer, I had filled all the fields in the customer form including Zipcode but still, I am getting error

"Zip/Postal Code" is a required value.

enter image description here

In my form all fields are field. I tried to remove this error by making postal code field optional from Magento configuration:

Store -> General -> Zip/Postal Code is Optional for

but no luck.

Please help me!

2 Answers 2


Try to remove cache:

   php bin/magento cache:clean
  • I remove and flushed cache multiple times, not fix :(
    – temper
    Aug 9, 2019 at 12:14

Some vendor class or module has been changed, Run this command:

composer update

then run:

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento cache:flush

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.