Page 1 of 1

"unknown document"

Posted: Thu Nov 14, 2019 2:42 am
by abatie
I'm trying out this SOAP stuff (using perl SOAP::Lite) and managed to get an auth token, but when I try to use it, all I get is "unknown document":

Code: Select all

my $som = $soap->call('GetAccountInfo',
                        SOAP::Data->name('authToken')->value($auth_token),
                    );

if ($som->fault) {
    die "Couldn't get info - fault: " . $som->faultstring . "\n";
}

Code: Select all

Couldn't get info - fault: unknown document: GetAccountInfo

Re: "unknown document"

Posted: Fri Nov 15, 2019 8:38 pm
by abatie
It turns out the documentation is confusing - the page is titled "GetAccountInfo SOAP Command", but the actual command is GetAccountInfoRequest...