XEP-0133: Admin Requests to Get a User's Roster - Service unavailable

Hi,

I am trying to get a user's roster through an admin account.

This is what I am trying to do:

<iq
    id='get-user-roster-2'
    to='localhost'
    type='set'
    xml:lang='en'>
  <command xmlns='http://jabber.org/protocol/commands'
           node='http://jabber.org/protocol/admin#get-user-roster'
           sessionid='2012-12-04T12:44:27.123921Z'>
    <x xmlns='jabber:x:data' type='submit'>
      <field type='hidden' var='FORM_TYPE'>
        <value>http://jabber.org/protocol/admin</value>
      </field>
      <field var='accountjids'>
        <value>myuser@localhost</value>
      </field>
    </x>
  </command>
</iq>

This returns:

<iq from='server@localhost' to='server@localhost/server@localhost/' type='error' id='purple64033b0f'>
<ping xmlns='urn:xmpp:ping'/>
<error code='503' type='cancel'>
<service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
</error>
</iq>

Any ideas what this means and how I can fix it?

Thanks

This could be a noob question

This could be a noob question but I am new to XMPP.

Any pointers are appreciated.

Thanks.

Syndicate content