Skip to content

[Due for payment 2025-12-30] Improve handling of Failed to execute 'put' on 'IDBObjectStore' error #75375

Description

@VickyStash

We have a lot of reports in Sentry with Failed to execute 'put' on 'IDBObjectStore' error reported: https://expensify.sentry.io/issues/6998316400/events/ad8318ed6ad3464ca7e343d1aa50cbab/events/?project=4510228107427840&query=user.email%3Ateam%40truehopecambodia.org&referrer=previous-event

Why this error is triggered:
This error occurs when non-serializable data is passed to Onyx. You can reproduce it on your end by pasting Onyx.set('bad', {test: new FormData()}); to the console on dev/staging.

TODOs:

  1. Define why this error was triggered for the users. What kind of the data was trying to be set to Onyx.
  2. Improve the handling of this error on the Onyx side not to throw an error. Just logging of the alert should be enough.
Issue OwnerCurrent Issue Owner: @mallenexpensify

Metadata

Metadata

Labels

AutoAssignerNewDotQualityUsed to assign quality issues to engineersAwaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions