Adding user to roster "not-acceptable" error


Maybe someone came upon this one: I’‘m trying to add a user to the roster(roster.createEntry(userNo+"", name, group)). If the remote user has me in his roster, it’‘s all fine. When I try to add a user that doesn’‘t have me in his roster, I get 406 - “not-acceptable” exception. What am I doing wrong? It’'s kinna useful, when users can add each other to their contact lists

Thanks for any help.



Ok, I think I managed to find a hint This only happens when I’'m trying to add a user to a roster group that is defined on a server (but has nothing to do with neither adding user nor the one being added). Is it a bug or did I mess something up? Help, I feel stupid answering my own questions