• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

API RPC - Creating Subscription Error

J8643

New Pleskian
Hi,

I'm having trouble creating a new subscription on the plesk api. Below is the packet format I'm sending:

<packet version="1.6.5.0">
<webspace>
<add>
<gen_setup>
<name>example.co.uk</name>
<owner-id>{ownerid}</owner-id>
<owner-login>{owner}</owner-login>
<ip_address>{iphere}</ip_address>
<status>0</status>
</gen_setup>
</add>
</webspace>
</packet>

The error code I'm receiving is 1023 with the message "Operation in POA failed: [no error code] Unable to find the webspace with ID 0."

I'm not sure why it's trying to find a webspace when I'm trying to add one? I'm logged in on an admin account and am trying to assign the subscription to that admin.
 
Back
Top