Skip to content

[$175] Receipt preview displays 403 forbidden error when scan/per diem expense via Old dot #103215

Closed

Description

@applause-bot

If you haven’t already, check out our contributing guidelines for onboarding. To join our Slack channel, fill out this form.


Version Number: 9.5.3-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from BrowserStack: https://github.com/Expensify/Mobile-Expensify/pull/14163
Email or phone of affected tester (no customers): gocemate+workseee9@gmail.com
Issue reported by: Applause Internal Team
Bug source: Exploratory - Significant User Experience Deterioration
Device used: iphone 11/26.2
App Component: Other

Action Performed:

  1. Login in new dot with new gmail account and go to Old dot
  2. Start creating scan expense or per diem

Expected Result:

While scanning receipt preview should be displayed

Actual Result:

403 forbidden error is displayed on receipt preview while scanning

Workaround:

Unknown

Platforms:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome Safari

Screenshots/Videos

Bug7278600_1791276574343.RPReplay_Final1791274683.mp4

View all open jobs on GitHub

Applause Internal Information
Exported by: Svetlana Lazutkina
Bug ID: 7278600

Upwork Automation - Do Not Edit
Issue OwnerCurrent Issue Owner: @iwiznia

Activity

  1. added
    BugSomething is broken. Auto assigns a BugZero manager.
    on Oct 6, 2026
  2. applause-bot commented on Oct 6, 2026

    @applause-bot
    Author
  3. MelvinBot commented on Oct 6, 2026

    @MelvinBot
    Contributor

    ⚠️ Preliminary analysis (low confidence) — treat as a starting point, not a conclusion.

    This appears to be a backend/internal issue. A separate internal investigation is needed.

    The receipt preview in the Classic (OldDot) Scan and Per Diem screens isn't rendered by App code. App only passes the session to OldDot at sign-in (src/libs/HybridApp.ts:78-127) and when the auth token changes (src/libs/actions/Session/index.ts:104-120). That handoff hasn't changed meaningfully in months, and the bug also reproduces on production.

    I couldn't verify the cause because the receipt request and its 403 response happen outside this repo. I didn't test on web because this flow exists only in the iOS app. An internal engineer should check:

    1. Which server returns the 403 for the preview image, and whether the request carries auth.
    2. Whether it happens only for accounts created or signed in on the NewDot sign-in page, or also for existing accounts.
    App-side checks

    Next Steps: Reply with @MelvinBot <your feedback> to refine this analysis.


    view run

  4. added
    ExternalAdded to denote the issue can be worked on by a contributor
    on Oct 6, 2026
  5. melvin-bot commented on Oct 6, 2026

    @melvin-bot

    Triggered auto assignment to Contributor-plus team member for initial proposal review - @nyomanjyotisa (External)

  6. changed the title [-]Receipt preview displays 403 forbidden error when scan/per diem expense via Old dot[/-] [+][$175] Receipt preview displays 403 forbidden error when scan/per diem expense via Old dot[/+] on Oct 6, 2026
  7. melvin-bot commented on Oct 6, 2026

    @melvin-bot
  8. yuvrajangadsingh commented on Oct 7, 2026

    @yuvrajangadsingh
    Contributor

    withdrawing this, it went up before the issue had the Help Wanted label. will come back if the label is added.

  9. melvin-bot commented on Oct 9, 2026

    @melvin-bot

    @nyomanjyotisa Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  10. yuvrajangadsingh commented on Oct 10, 2026

    @yuvrajangadsingh
    Contributor

    withdrawn, see above.

  11. nyomanjyotisa commented on Oct 11, 2026

    @nyomanjyotisa
    Member

    The matching iOS build is blocked by provisioning, so I haven’t confirmed the root cause. Could an internal engineer help capture the failing Classic receipt request before we select a proposal?

    🎀👀🎀 C+ reviewed

  12. 25 remaining items

  13. added
    InternalRequires API changes or must be handled by Expensify staff
    ReviewingHas a PR in review
    and removed
    ExternalAdded to denote the issue can be worked on by a contributor
    on Oct 29, 2026
  14. iwiznia commented on Oct 29, 2026

    @iwiznia
    Contributor

    Sent backend PR to fix this

  15. melvin-bot commented on Nov 5, 2026

    @melvin-bot

    @iwiznia Whoops! This issue is 2 days overdue. Let's get this updated quick!

  16. melvin-bot commented on Nov 9, 2026

    @melvin-bot

    @iwiznia Still overdue 6 days?! Let's take care of this!

  17. melvin-bot commented on Nov 11, 2026

    @melvin-bot

    @iwiznia Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it!

  18. iwiznia commented on Nov 12, 2026

    @iwiznia
    Contributor

    Asked for a retest via slack workflow

  19. IuliiaHerets commented on Nov 13, 2026

    @IuliiaHerets

    Issue is not repro on iphone 11/26.2 build v9.5.36-0 using expensify account

    ScreenRecording_11-12-2026.22-17-56_1.MP4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2InternalRequires API changes or must be handled by Expensify staff

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions