Failure on most actions using v3

Hi,

I’m experiencing a weird error when trying to do most of actions related to a conversation like .sync, .send or others.
On the following example I’m trying to load a conversation and load message it contains, I’ve ran a sync after getting the conversation object

// on step above I've setup client and the inbox
// now I try to retrieve the conversation object
const conversation = await conversations.getConversationById(conversationId)

// then load messages
await this.conversation.sync();
const messages = await this.conversation.messages();

I’ve enabled tracing for more verbosity, then I got the following

- getConversationById (OK, got the result)
- syncGroup
{
  "action": "syncGroup",
  "id": "0932532a-0905-41e6-ac6d-296df164c9c3",
  "data": {
    "id": "80747a19fdc1b644158a7a40db1b4614"
  }
}
INFO sync: xmtp_mls::groups::mls_sync: [1260820645c28459428477b27d8fb4865337296c10f3c86e68f2af35316b350b] syncing group inbox_id="1260820645c28459428477b27d8fb4865337296c10f3c86e68f2af35316b350b" installation_id=cdca8d30c9386b6202fabbe7836fa63c57a01872cc602cf792735779b317ca76 group_id="80747a19fdc1b644158a7a40db1b4614"

INFO sync: xmtp_mls::groups::mls_sync: current epoch for [1260820645c28459428477b27d8fb4865337296c10f3c86e68f2af35316b350b] in sync() inbox_id="1260820645c28459428477b27d8fb4865337296c10f3c86e68f2af35316b350b" installation_id=cdca8d30c9386b6202fabbe7836fa63c57a01872cc602cf792735779b317ca76 group_id="80747a19fdc1b644158a7a40db1b4614"

 INFO sync:sync_until_intent_resolved:sync_with_conn:publish_intents:load_mls_group_with_lock_async:retry:get_publish_intent_data:apply_update_group_membership_intent: xmtp_mls::groups::intents: old group membership: {"1260820645c28459428477b27d8fb4865337296c10f3c86e68f2af35316b350b": 0}

 INFO sync:sync_until_intent_resolved:sync_with_conn:publish_intents:load_mls_group_with_lock_async:retry:get_publish_intent_data:apply_update_group_membership_intent: xmtp_mls::groups::intents: updated group membership: {"1260820645c28459428477b27d8fb4865337296c10f3c86e68f2af35316b350b": 33762}

 INFO sync:sync_until_intent_resolved:sync_with_conn:publish_intents:load_mls_group_with_lock_async:retry:get_publish_intent_data:apply_update_group_membership_intent: xmtp_mls::identity_updates: Getting installation diff. Old: GroupMembership { members: {"1260820645c28459428477b27d8fb4865337296c10f3c86e68f2af35316b350b": 0} }. New GroupMembership { members: {"1260820645c28459428477b27d8fb4865337296c10f3c86e68f2af35316b350b": 33762} }

 INFO sync:sync_until_intent_resolved:sync_with_conn:publish_intents:load_mls_group_with_lock_async: xmtp_mls::groups::mls_sync: error is not retryable. InstallationDiff(Client(Association(MultipleCreate))):Installation diff error: Association error: Multiple create operations detected

It stop at this stage with this last error
I’m using @xmtp/browser-sdk version 0.0.11

I have the same error when truing to send a message on a conversation, the action for this one is sendGroupMessage but the final error is the same.

 INFO sync_until_intent_resolved:sync_with_conn:publish_intents:load_mls_group_with_lock_async: xmtp_mls::groups::mls_sync: error is not retryable. InstallationDiff(Client(Association(MultipleCreate))):Installation diff error: Association error: Multiple create operations detected

Could you please advise and guide me on tracking anf most of all fixing this issue.

Hi @irzhy ! Thanks for the report. Its best to file bug reports in the repo where they originate. If it turns out not to be a bug, then we can convert to a discussion :). This makes it easier for us to discover and prioritize issues effecting our integrators in order to create a better experience

Here’s the link to file a report:

In order to better assist you, it would help to provide a MRE (Minimal Reproducible Example) using the SDK you chose

Thanks!

3 Likes