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
Scan expense-Scan fails for valid receipts with an error #94986
Version Number: 9.4.25-0 Reproducible in staging?: Yes Reproducible in production?: No If this was caught during regression testing, add the test name, ID and link from BrowserStack:https://test-management.browserstack.com/projects/2219752/folder/13176676/test-cases/41237305 Email or phone of affected tester (no customers): N/A Issue reported by: Applause Internal Team Bug source: Exploratory - Significant User Experience Deterioration Device used: iPhone 15 iOS 26.5 App Component: Money Requests
Action Performed:
Sign in to ND with a new user, selecting Manage - 1-4 - QBO
Navigate to the workspace chat
Create a scan expense, uploading a valid receipt from Files, select a category
Expected Result:
Expense is created successfully
Actual Result:
"There was an error uploading your receipt" is displayed on the expense preview. In the expense details: "Receipt upload failed. Save the receipt, or delete the expense and lose it"
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
Yes — this looks transient, most likely a backend/network hiccup on the receipt-upload request rather than a code bug in this release.
Why: These error strings (receiptFailureMessageShort / receiptUploadFailedMessage) are only written via the failureData branch of the scan money-request — there is no client-side validation path that raises them. They surface only when the request returns a non-200 jsonCode (or a network error that exhausted retries). Combined with: valid receipt, not reproducible in production, and two engineers unable to reproduce locally on the exact same iOS/device — a deterministic bug would reproduce reliably given the same input, and it didn't.
Evidence
The receipt error object ({error: CONST.IOU.RECEIPT_ERROR, ...}) is built in getReceiptError() and pushed only into failureData of buildOnyxDataForMoneyRequest — never into optimistic or success data.
To confirm definitively: check staging logs (~around the v9.4.25-0 report on 2026-06-30) for the scan money-request command tied to that transaction and look for a non-200 jsonCode / "Request failed too many times, giving up", or a failed receipt/S3 upload. If you can share the transactionID or receiptID from the Applause run, I can dig into the logs to pin the exact backend error.
Next Steps: Reply with @MelvinBot <your feedback> to refine this, or share the transactionID/receiptID and I'll check production logs.
Activity
applause-bot commentedon Jun 30, 2026
While Applause doesn't embed attachments for this bug, here are the links for quick view:
https://platform.applause.com/services/links/v1/external/aa3727739c90c4da01677b672804907b954e262c2c4bf5b0e83e70703f72a007
https://platform.applause.com/services/links/v1/external/66fd6288041c8e278463917a144826b5c575ed9b7f43d446352ac6ac1a393f02
melvin-bot commentedon Jun 30, 2026
Triggered auto assignment to @cristipaval (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.melvin-bot commentedon Jun 30, 2026
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon Jun 30, 2026
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
mkhutornyi commentedon Jun 30, 2026
I am not able to reproduce locally.
Screen.Recording.2026-06-30.at.4.12.15.PM.mov
mkhutornyi commentedon Jun 30, 2026
cc: @chrispader
chrispader commentedon Jul 1, 2026
Also could not reproduce the issue locally with exactly same iOS and phone version on Simulator:
Simulator.Screen.Recording.-.iPhone.15.-.2026-07-01.at.12.36.01.mov
cristipaval commentedon Jul 1, 2026
@MelvinBot, do you think this was transient?
MelvinBot commentedon Jul 1, 2026
Yes — this looks transient, most likely a backend/network hiccup on the receipt-upload request rather than a code bug in this release.
Why: These error strings (
receiptFailureMessageShort/receiptUploadFailedMessage) are only written via thefailureDatabranch of the scan money-request — there is no client-side validation path that raises them. They surface only when the request returns a non-200jsonCode(or a network error that exhausted retries). Combined with: valid receipt, not reproducible in production, and two engineers unable to reproduce locally on the exact same iOS/device — a deterministic bug would reproduce reliably given the same input, and it didn't.Evidence
{error: CONST.IOU.RECEIPT_ERROR, ...}) is built ingetReceiptError()and pushed only intofailureDataofbuildOnyxDataForMoneyRequest— never into optimistic or success data.failureDatais applied only on a non-200 response:OnyxUpdates.ts:45-65.SequentialQueue.ts:213-296.isReceiptError()and shown byDotIndicatorMessage.tsx.To confirm definitively: check staging logs (~around the v9.4.25-0 report on 2026-06-30) for the scan money-request command tied to that transaction and look for a non-200
jsonCode/ "Request failed too many times, giving up", or a failed receipt/S3 upload. If you can share the transactionID or receiptID from the Applause run, I can dig into the logs to pin the exact backend error.Next Steps: Reply with
@MelvinBot <your feedback>to refine this, or share the transactionID/receiptID and I'll check production logs.m-natarajan commentedon Jul 1, 2026
Unable to reproduce in iPhone13/iOS26.5, v9.4.25-1 (Waiting for the validation result from the original reporter)
94986.mp4
cristipaval commentedon Jul 1, 2026
Thanks, closing it then