Skip to content

Getting error "Authentication method not specified" when trying samples #7

@quintonn

Description

@quintonn

When I attempt to make a request to the Plesk XML API, i get the following error:

<?xml version="1.0"?>
<packet version="1.6.9.1">
    <system>
        <status>error</status>
        <errcode>1029</errcode>
        <errtext>Authentication method is not specified</errtext>
    </system>
</packet>

My Request looks like this:

<packet>
<customer>
   <get>
      <filter />
      <dataset>
          <gen_info/>
          <stat/>
      </dataset>
   </get>
</customer>
</packet>

And I am setting the following headers:

  1. HTTP_AUTH_LOGIN
  2. HTTP_AUTH_PASSWORD
  3. Content-Type

Am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions