-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IOU - Mapbox "Refused to load the script" console errors when Clicking on Submit expense #43221
Comments
Triggered auto assignment to @johncschuster ( |
@johncschuster FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
Looking as it is coming from #42737 |
This does seem like a network issue where we could not load mapbox library. @lanitochka17 could you please retry, thanks! |
This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989 |
I see when using a very new gmail account. Looking... |
@neil-marcellini or @hayata-suenaga any one of you know of a recent change that would have caused this. |
It appears to be a CORS error. If I remember correctly, the CORS policy is set in the Salt repository, and this issue might stem from a recent change there. I haven't been invovled in the distance request development since last summer, so I haven't made any recent changes to the code related to this. |
Thanks Hayata! Will take a look at the recent Salt PR's |
This is the error we're getting -
I think error is referring to this block where there is no mapbox domain - May be we need to add it to the list. I am not completely sure about it though |
Couldn't see a recent change there |
I have submitted a PR that will fix this issue |
We need to deploy CF change |
It doesn't look like any external contributors were involved in the linked PR. Were there any contributions I'm unaware of that require payment, @MonilBhavsar? |
All internal, no payment required here |
@Beamanator is helping with the deploy 🚀 |
Done! Changes should be on staging. Let me know if / when you want me to deploy them to prod |
Nice, shipping |
Deployed 👍 |
Confirmed on production too. Thank you 🙇 |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.80-6
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - internal Team
Issue found when executing PR #42737
Action Performed:
Expected Result:
There shouldn't be any console errors-
Actual Result:
2 "Refused to load the script" and a "NetworkError: Failed to execute 'importScripts'" console errors appear right when clicking on Submit expense button
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6504331_1717703821734.bandicam_2024-06-06_21-48-11-743.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: