Skip to content

Error while fetching conversations: QuotaExceededError #17602

@Antreesy

Description

@Antreesy

Tip

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Have 1K+ conversations
  2. Try to fetch conversations
  3. Conversations are saved to BrowserStorage -> localStorage

Expected behaviour

Data is stored or safely failed without breaking the client

Actual behaviour

JSON string size hits the localStorage limit
https://developer.mozilla.org/en-US/docs/Web/API/QuotaExceededError

Easy fix: wrap caching in try-catch block
Proper fix: migrate to IndexedDB

Talk app

Talk app version: 22+

Browser

First noticable on Safari, as it has lesser limit

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions