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:
- Define why this error was triggered for the users. What kind of the data was trying to be set to Onyx.
- Improve the handling of this error on the Onyx side not to throw an error. Just logging of the alert should be enough.
Issue Owner
Current Issue Owner: @mallenexpensify
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-eventWhy 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:
Issue Owner
Current Issue Owner: @mallenexpensify