-
Notifications
You must be signed in to change notification settings - Fork 699
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
The app couldn’t be loaded #1729
Comments
We're on Rails 7 with the latest version of |
@TimFletcher Thank you for the response, i tried to upload to Heroku and got the same error, one thing is strange that i am able to install this from Brave browser even if its a develpment mode, I can install in brave browser only, all other browsers giving me the above error. |
Having the same with Safari 17.0, Chrome, Firefox, Brave on new apps in development on my Mac. I was basically just following the official documentation: https://shopify.dev/docs/apps/getting-started/create Update: after deleting stores, creating new ones with test data and creating new apps, managed to install properly in dev. |
👋 Can you provide the version of the gem / api gem you are using? Have you converted to using app bridge on your frontend or is this cookie based auth? We are aware of this type of error showing up with cookie based auth that doesn't use app bridge as browsers are starting to fail on 3rd party cookies. We introduced app bridge with embedded apps to help prepare for the lack of continued support for 3rd party cookies which is what I suspect this is related to. |
I attempted several versions. Initially, I used the latest version, 21.7.0, with Rails 7, but it didn't work. I then tried it with version 6.1 and encountered the same issue. Eventually, I resolved the problem by using version 18 of the 'shopify_app' gem in conjunction with Rails 6.1, which proved successful. Also, I am indeed utilizing App Bridge. |
Our app started life in Jan 2023 using app bridge. These were the deps back then:
And today:
IIRC this |
Thanks for the context! Do you have any other tips on how to reproduce the error? That'll be the next step in zeroing in on the problem and providing a fix. I'll try and reproduce the issue with a fresh app install using our ruby app template to see if I see anything, but if you have any other steps to reproduce the issue that'll be key in finding a fix. |
Because a) it doesn't seem particularly widespread and b) it's only locally I feel it's something to do with my setup. Perhaps related to The local Shopify app is running on When I see the error there's a query param: I can share my |
YEs please do, or i can try to make a video, I tired last night with the same error, i am using ngrok and i can only install in Brave browser, other than that all browsers gives me same cookies error. |
Following, same issue on a fresh install on newly created app(with old codebase which is upgraded and tested on another store with another app distro, working fine there). And yes, app is there in the list, but when i open it i get a weird errors:
UPDATE: If i even manually click on the link which is blocked, i am shown the same error as of this issues's subject SOLVED: Had mism-atching keys, thanks stranger: #1697 (comment) |
Using the latest version of the version of the ruby app template that uses rails 7, I wasn't able to reproduce this issue. I'd recommend looking at the code base and validating your apps follow similar patterns and you have the correct API keys/secrets. I'm going to close this issue, though if you have concrete steps to reproduce the issue feel free to re-open. |
I updated our app to Rails 7.1.1 (without any changes from the Rails 7 ruby app template) and this issue does, at least for me, seem resolved. |
This bug is happening for me with: Rails 6.1.7 Keys are accurate, I can get past the error occasionally. Seems like some sort of intermittent issue. Basically if I get to the screen in the OP's screenshot, I hit the 3 dots next to my app name and click "Open App" and then it will indeed open. |
Issue summary
I am using rails 7, whenever i install then app i get this The app couldn’t be loaded , "This app can’t load due to an issue with browser cookies. Try enabling cookies in your browser, [switching to another browser]or contacting the developer to get support."
I am using Windows, but tried Ubuntu as well with the same error , Please let know if anyone have the solution
The text was updated successfully, but these errors were encountered: