Symptoms
-
The domain is suspended with non-existing status code (What do the domain status codes in Plesk mean)
-
The domain cannot be unsuspended using API.
Request:<packet>
<site>
<set>
<filter>
<name>
example.com
</name>
</filter>
<values>
<gen_setup>
<status>
0
</status>
</gen_setup>
</values>
</set>
</site>
</packet>Response:
<status>error</status>
<errcode>1025</errcode>
<errtext>The domain is still suspended for the following reason: Domain is inactive.</errtext>
Cause
Plesk bug #PPPM-10528, which is planned to be fixed in future product updates.
Resolution
Set any other non-zero status code. For example:
- Switching between valid status codes works: “0 => 2 => 0”.
- Switching from invalid status code to “0” fails: “0 => 8 => 0” (error).
- But switching from invalid status code to a valid one and then to “0” works: “0 => 8 => 2 => 0”.