Ravi (indif69) wrote in lj_clients,
Ravi
indif69
lj_clients

LJ Faults in xmlrpc

So I have the following response. Is there a global list of faultcodes somewhere in the LJ docs? Or should I simply use the faultString and discard the faultCode?

<?xml version="1.0" encoding="UTF-8"?>
<methodResponse>
<fault>
<value>
<struct>

<member>
<name>faultString</name>
<value><string>Invalid username</string></value>
</member>

<member>
<name>faultCode</name>
<value><int>100</int></value>
</member>

</struct>
</value>
</fault>
</methodResponse>
Subscribe
  • Post a new comment

    Error

    Comments allowed for members only

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 2 comments