No container class for data

elbarto

Verified User
Joined
Oct 8, 2008
Messages
133
Hey guys. I'm working with the API and when I try to get the usage information for a user I get an error saying "No container class for data".

Here's the HTTP Request (I changed the sensitive information)

Code:
POST /CMD_API_SHOW_USER_USAGE HTTP/1.1
Accept-Encoding: identity
Content-Length: 15
Host: myserverhost.com:2222
Connection: close
Content-Type: application/x-www-form-urlencoded
Authorization: Basic my-auth-info

user=myuser

And here the response I get

Code:
HTTP/1.1 200 OK
Server: DirectAdmin Daemon v1.34.4 Registered to MyCompany
Connection: close
Content-Type: text/plain

error=1&details=no container class for data

What does this error mean?
 
BTW, the same happens when I execute other commands related to user information, like CMD_API_SHOW_USER_DOMAINS and CMD_API_SHOW_USER_CONFIG.
 
I'm still getting this error when I call many methods of Directadmin's API.
Does anybody know what it means?
 
Back
Top