Skip to content
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

Could not find the current session id in the cookies #450

Open
DenisYakimchuk opened this issue Jun 2, 2023 · 3 comments
Open

Could not find the current session id in the cookies #450

DenisYakimchuk opened this issue Jun 2, 2023 · 3 comments

Comments

@DenisYakimchuk
Copy link

DenisYakimchuk commented Jun 2, 2023

Issue summary

I can't install a production app to the live store due to an error "Could not find the current session id in the cookies". A couple of months ago the same app was successfully installed to another store but today I ran into the issue.

Expected behavior

Since there was no any code change the app should be installed without any errors as it was some time ago.

Actual behavior

I have build an app using npm run build command as usual, and after installation I've got an error message

Shopify\Exception\CookieNotFoundException
Could not find the current session id in the cookies 

I was trying trying to clear app cache but it doesn't help anyway.

In the same time the app seems to be working fine when run in dev.

@DenisYakimchuk
Copy link
Author

Values for shopify_session_id_sig and shopify_session_id are coming in a "cookie" header but looks like actual cookies aren't set for them and have null value.

@DenisYakimchuk
Copy link
Author

The issue was found. The current version doesn't support the most fresh stable API version "2023-04". With the "2023-01" everything is working fine. So I guess OAuth method needs to be updated in this package.

@robertiulianstoica
Copy link

This issue still happens to me regardless of what API version i use. Did anybody find a different fix for this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants