• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Error while creating customer account through api

M

manigandant

Guest
Hi,
I am using the plesk 10 api rpc to create customer account using php. I have refered the following link to create customer account.. and i am getting the following error when using the packet version 1.6.3.0


error 1029 Authentification method is not specified SimpleXMLElement Object ( [@attributes] => Array ( [version] => 1.6.3.0 ) [system] => SimpleXMLElement Object ( [status] => error [errcode] => 1029 [errtext] => Authentification method is not specified ) )

What does it mean " Authentification method is not specified "?

i am using the curl to connect with the server as it shown here
 
Try to set ':' symbol before

HTTP_AUTH_LOGIN
HTTP_AUTH_PASSWD
HTTP_PRETTY_PRINT

So, it should be

:HTTP_AUTH_LOGIN
:HTTP_AUTH_PASSWD
:HTTP_PRETTY_PRINT
 
Thanks IgorG. I will try with that but what does it(colon : ) mean.
 
Last edited by a moderator:
Hi,
when i use the below in headers it shows 400 error,
:HTTP_AUTH_LOGIN
:HTTP_AUTH_PASSWD
:HTTP_PRETTY_PRINT

Bad Request - Invalid Header
HTTP Error 400. The request has an invalid header name.
 
i am still getting the below error.

Bad Request - Invalid Header
HTTP Error 400. The request has an invalid header name.

any updates on this post will be very much appreciated
 
Last edited by a moderator:
Back
Top