All things Shopify and commerce
We are just about ready to launch our Shopify website but are having an issue. When testing the login with a code, this error below pops up. We have made sure the code is correct. Once we click back to the previous page, we are in fact logged in, but we obviously don't want our customers to get this message. Anyone know how to fix this?? We need to get our site launched asap. Thank you
Something went wrong.
Hey @CandiLynn,
Let me help you troubleshoot this Shopify login error. From what you've described, it seems like a common issue where the authentication is actually succeeding but there's a redirect or state management problem causing the error message to display incorrectly.
Here are several potential causes and solutions we should systematically check:
First, let's verify the technical setup:
1. Clear browser cache and cookies, then test in an incognito/private window. This eliminates any potential conflicts with stored session data.
2. Check your Shopify theme's customer account settings:
- Navigate to Online Store > Themes > Customize > Theme Settings > Customer Accounts
- Ensure the login redirect URL is correctly configured.
3. Examine the customer accounts configuration:
- Go to Settings > Customer Accounts
- Verify that all necessary account permissions and settings are properly configured
If the issue persists, we should look at implementation details:
- Review any custom code in your theme that handles login redirects
- Check the customer login templates (customers/login.liquid)
- Verify there are no JavaScript errors interfering with the login flow
Let me know if you can share any of these specific details:
- Are you using any custom apps that might affect the login process?
- Can you check the browser console for any specific error messages when the login occurs?
This kind of issue often indicates a timing problem where the session is established but the redirect happens before the session is fully processed. Sometimes adding a small delay to the redirect can help, but we should first verify the core configuration before making any code changes.
Would you be able to test in an incognito window and share what you observe? This would help us narrow down whether it's a browser-state issue or something deeper in the implementation.
Thanks,
Shubham | Untechnickle
Helping for free: hello@untechnickle.com
Don't forget to say thanks, it'll make my day - just send me an email!
Get Revize for Free | Let your shoppers edit orders post-purchase | Get Zero Support Tickets | #1 Order Editing + Upsell App
Hey @CandiLynn,
This helps clarify the issue! Yes, having a redirect between your custom domain and the Shopify domain could definitely cause this authentication hiccup. The login process might be getting confused between the two domains during the authentication flow.
Let's try this specific fix:
This should help because:
Hope this helps. Please feel free to email us or DM us anytime if you've any questions relating to Shopify or ecommerce in general. We'd love to help without any fee. I promise 🙂
Have a great day,
Shubham | hello@untechnickle.com
Helping for free: hello@untechnickle.com
Don't forget to say thanks, it'll make my day - just send me an email!
Get Revize for Free | Let your shoppers edit orders post-purchase | Get Zero Support Tickets | #1 Order Editing + Upsell App
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025