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 - receipt thumbnail is not shown due to a cors policy error #39056
Version Number: 1.4.57-2 Reproducible in staging?: Y Reproducible in production?: N If this was caught during regression testing, add the test name, ID and link from TestRail: N/A Issue reported by: Applause - Internal Team
Action Performed:
Open a new Gmail account
Click on FAB > request money > Scan > upload a receipt that will not fail
While on the participants page input 2 new email addresses you did not have history with
Confirm the request and wait for the scan to finish
Once the scan has finished open the console and click on the split preview component to open the RHP
Expected Result:
The receipt thumbnail should load
Actual Result:
The receipt thumbnail does not load due to a cors policy error:
Access to fetch at 'https://www.expensify.com/receipts/w_850728b68d65c07f20d99f83e4b91b01ee49d238.jpg.1024.jpg'
from origin 'https://staging.new.expensify.com'/
has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
👋 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.
I haven't been able to reproduce and I can see receipt images everywhere at the moment so I think we can call this NAB for now & keep this open a bit in case applause can reproduce
@Beamanator@anmurali this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!
Activity
github-actions commentedon Mar 27, 2024
👋 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:
melvin-bot commentedon Mar 27, 2024
Triggered auto assignment to @Beamanator (
Engineering), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.Beamanator commentedon Mar 28, 2024
@kidroca @aimane-chnaif this looks related to our image caching PR - i wonder if there's an
isAuthTokenRequiredmissing somewhere?aimane-chnaif commentedon Mar 28, 2024
oh interesting. If so, why is this reported so late? That PR reached production long time ago.
Beamanator commentedon Mar 28, 2024
Def good questions 🤷 you're right, this could be unrelated
Beamanator commentedon Mar 28, 2024
Hmm I can't reproduce this issue
Beamanator commentedon Mar 28, 2024
I haven't been able to reproduce and I can see receipt images everywhere at the moment so I think we can call this NAB for now & keep this open a bit in case applause can reproduce
8 remaining items
melvin-bot commentedon Apr 10, 2024
@Beamanator @anmurali this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!
mvtglobally commentedon Apr 12, 2024
Issue is reproducible during KI retests.
1712519456367.bandicam_2024-04-07_22-48-17-305.mp4
melvin-bot commentedon Apr 12, 2024
@Beamanator, @anmurali Whoops! This issue is 2 days overdue. Let's get this updated quick!
melvin-bot commentedon Apr 16, 2024
@Beamanator, @anmurali 6 days overdue. This is scarier than being forced to listen to Vogon poetry!
anmurali commentedon Apr 17, 2024
Waiting for scan to complete. Will update once it does.
Beamanator commentedon Apr 19, 2024
i'm gunna guess we can close this