• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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