Error code: 91005 - Presence state is out of sync

This is a client side issue which means that an up to date presence set cannot be given due to connection issues. You get this if call presence.get() when the channel state is suspended which is mostly usually caused due to an interruption in the client's internet.

You can specify waitForSync: false to request to get the presence set anyway but it will be out of date.

Let us know if you have any questions or issues by emailing support@ably.com