Error 406 on message sending

ello,

For a java client I need to send meesags on a chat room. After connection, creation of a MultiUserChat and sending of message on it, I receive error return message. Error i the following:

<error code=“406” type=“MODIFY”>

<not-acceptable xmlns=“urn:ietf:params:xml:ns:xmpp-stanzas”/>

</error>

All parameter seems to be good…

Does anyone has an idea of the context in wich this kind oferror occurs ?

Thanks

Reply to myself:

I forgoted to make a join()…

Now error 406 disapear and I can go farther… to the next error! (the 400, which seems to be more common and documented:).