</aruba>
In which,
n the status specifies if the XML response succeeds or fails. If the request succeeds, the status tag will contain
the Ok string. If the request fails, the status tag will contain the Error string.
n the code is an integer number that represents the error in the request. This tag is populated only if there is
an error in the request.
n the reason is a message that contains descriptive information about the error.
Response Codes
The following response codes are returned if the XML request returns an Error string.
Code Reason message Description
1 unknown user
The user specified in the XML request does not exist or is incorrect.
If the MAC address or username is specified in the query, the
switch restricts the supplied IPaddress, i.e., the requested user IP
address together with any MAC address and username will not be
found.
Returned by the user_
authenticate, user_delete, user_
blacklist, user_logout, and user_
query commands.
2 unknown role
The specified role in the XML request does not exist in the switch.
Returned by the user_add
command.
3 unknown external agent
This error string is returned due to
an unknown source IP (i.e. not
configured as an XML server).
Or,
In case of an user_add command,
it is likely to be due to the default-
xml-api AAA profile missing from
the AAA authentication wired
profile.
4 authentication failed Indicates an authentication failure
during user_authenticate.
This is only applicable to captive
portal users.
5 invalid command
The XML request contains a command not supported by AOS-W
XML API interface.
—
6 invalid message authentication method
The authentication method specified in the XML request is not
supported by the AOS-W XML API interface.
Returned by commands that
contain the authentication method
in the XML request.
7 invalid message digest
This is due to a mismatch in secret
between the XML server and the
switch XML API profile.
If using non cleartext, this could be
an error in the calculation of the
hashed secret.
Table 262: XML Response Codes
AOS-W 6.5.3.x | User Guide External User Management | 1073