pem.addDomain API request fails after upgrade to POA 5.5: Invalid hosting type passed
Modified on: Fri, 17 Nov 2023 12:08 PMOriginal Publishing Date:
2020-01-22
2020-01-22
Symptoms
After Upgrade to 5.5, the API Call pem.addDomain keeps failing with the error:
Invalid hosting type '0' passed. Please refer to the Parallels Automation OpenAPI documentation.
Cause
This is caused by POA-82272
Resolution
The issue will be fixed in one of future updates of POA. For now please use the following workaround:
- Set Auto-host Domains parameter in all Service Templates to Yes
- Call pem.addDomain without hosting_type parameter in case of physical hosting needed.
Please contact your account manager regarding POA-82272.