API RPC - Creating Subscription Error

Discussion in 'General Discussion' started by J8643, Jul 22, 2016.

  1. J8643

    J8643 Bit Poster

    Messages:
    2
    Hi,

    Not sure if this is the right place to post this, but 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.
     
  2. Pavel

    Pavel A.I. Auto-Responder Odin Team

    Messages:
    416

Share This Page