- Plesk for Linux
The following error is returned when making an API call to update a customer's Postal Code:
CONFIG_TEXT: <?xml version="1.0" encoding="UTF-8"?>
<packet version="184.108.40.206"><customer><add><result><status>error</status><errcode>1023</errcode><errtext>cObject::update() failed: Some fields are empty or contain an improper value. ('pcode' = 'xxxxxxx') Errors : pcode</errtext></result></add></customer></packet>
United States was selected as Country:
The pcode format was incorrect because US postal codes are expected to be in a 5 or 9 digit format.
Plesk is expecting the postal code specific to the chosen country.
Verify the correct pcode format depending on the country. As a reference, this link can be used: List of postal codes.