You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Due for payment 2025-12-30] Improve handling of Failed to execute 'put' on 'IDBObjectStore' error #75375
AutoAssignerNewDotQualityUsed to assign quality issues to engineersAwaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2
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.
The error Failed to execute 'put' on 'IDBObjectStore': function () { [native code] } could not be cloned appears on multiple pages, including profile settings and report pages, where files are uploaded. (Looks like it can be connected with the file uploading)
I was able to reproduce the issue on staging only by opening the app after 24 hours of inactivity — this triggers a full freeze and makes the app unusable.
Reviewed additional logs: some users encounter this issue during normal app usage as well.
The issue does not appear to depend on what the user is doing at the moment.
All other attempted reproduction scenarios did not lead to the issue.
I dont think we want to remove the throw but maybe improve the log so we can know a bit easier what is causing the error cc @VickyStash what do you think
I dont think we want to remove the throw but maybe improve the log so we can know a bit easier what is causing the error cc @VickyStash what do you think
We already log the message like: Logger.logAlert('Attempted to set invalid data set in Onyx. Please ensure all data is serializable.');
Which makes sense to me. I'm not sure we can be even more specific at this point, as the root cause (data that isn't serializable) can be different.
So maybe we can leave it as is.
[Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to comment: N/A
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion: this is marked as CRITICAL, but we have disabled troubleshooting in prod and limited the length of the troubleshooting session to 10 minutes. The first point (disabled troubleshooting in prod) ensures that this won't come back. If you disagree and think an additional discussion is needed - please comment and I'll start one
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
QA won't be able to properly test this, but they will be able to verify that troubleshooting is not present on prod, I think it's worh adding a small test for this
Regression Test Proposal Template
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
AutoAssignerNewDotQualityUsed to assign quality issues to engineersAwaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2
Activity
melvin-bot commentedon Nov 18, 2025
Triggered auto assignment to @mallenexpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.pasyukevich commentedon Nov 18, 2025
I would like to work on it
pasyukevich commentedon Nov 19, 2025
Updates:
Failed to execute 'put' on 'IDBObjectStore': function () { [native code] } could not be clonedappears on multiple pages, including profile settings and report pages, where files are uploaded. (Looks like it can be connected with the file uploading)pasyukevich commentedon Nov 20, 2025
Updates:
pasyukevich commentedon Nov 21, 2025
Updates:
pasyukevich commentedon Nov 24, 2025
I was able to reproduce the issue on prod too - that's how it looks from the user perspective (after 3-4 minutes freeze)
Refreshing the page does not help
32 remaining items
mountiny commentedon Dec 29, 2025
I dont think we want to remove the throw but maybe improve the log so we can know a bit easier what is causing the error cc @VickyStash what do you think
VickyStash commentedon Dec 30, 2025
We already log the message like:
Logger.logAlert('Attempted to set invalid data set in Onyx. Please ensure all data is serializable.');Which makes sense to me. I'm not sure we can be even more specific at this point, as the root cause (data that isn't serializable) can be different.
So maybe we can leave it as is.
mountiny commentedon Dec 30, 2025
That sounds good to me
pasyukevich commentedon Dec 31, 2025
Thanks for clarification
Then I think everything is implemented in scope of this issue
mallenexpensify commentedon Dec 31, 2025
Payment Summary
Contributor+: @eVoloshchak due $250 via NewDot
@eVoloshchak plz complete the BZ checklist. I'm unsure if we need a test case here.
Thx
eVoloshchak commentedon Jan 2, 2026
BugZero Checklist:
[Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to comment: N/A
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion: this is marked as CRITICAL, but we have disabled troubleshooting in prod and limited the length of the troubleshooting session to 10 minutes. The first point (disabled troubleshooting in prod) ensures that this won't come back. If you disagree and think an additional discussion is needed - please comment and I'll start one
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
QA won't be able to properly test this, but they will be able to verify that troubleshooting is not present on prod, I think it's worh adding a small test for this
Regression Test Proposal Template
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue: https://github.com/Expensify/Expensify/issues/585395
Regression Test Proposal
Precondition:
Test:
Record Troubleshoot DatabuttonDo we agree 👍 or 👎
Zapier Logs
Run ID: 00040eee-5815-a23f-b62a-a44dcf02f334melvin-bot commentedon Jan 6, 2026
@mallenexpensify Eep! 4 days overdue now. Issues have feelings too...
mallenexpensify commentedon Jan 7, 2026
Thanks @eVoloshchak test created.
trjExpensify commentedon Jan 13, 2026
$250 approved for @eVoloshchak.