• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

add-db-user RPC

E

Emanuelez

Guest
Hello,
i am currently working with Plesk 8.1 API RPC.
I am able to create a domain, associate emails to it, creating a database, but when it comes to adding a user to the database i send a packet like:

<packet version="1.4.2.0">
<database>
<add-db-user>
<db-id>$db_id</db-id>
<login>$db_user</login>
<password>$db_password</password>
</add-db-user>
</database>
</packet>

with the appropriate variables substituted, but as a response i get:

<?xml version="1.0"?>
<packet version=" 0.0.0.0">
<system>
<status>error</status>
<errcode>1005</errcode>
<errtext>Protocol version '0.0.0.0' is not supported. Current protocol version is ' 1.4.2.0'</errtext>
</system>
</packet>

is there something wrong with the RPC server implementation?
 
Back
Top