#URGENT: Production app login failing with 500 error
1 messages · Page 1 of 1 (latest)
I am not able to log in to the preview environment. Please fix the issue in the preview first with the help of the agent.
please informed the agent that I am trying to log in to the preview using these credentials ( [email protected] /admin123) , but it is showing “Invalid credentials.”
Once the issue is fixed in preview, please try logging in to the preview environment again .
After confirming it works, you can proceed with the redeploy.
Exactly that's the issue. The fact that it's showing "invalid credentials"
But I will share your answer with agent
But I think the agent found the problem.
"Found it! The bug is on line 229. It checks if ANY admin exists ({"role": "admin"}), not if the specific default admin email exists. Since your production database has your personal admin account, it skips creating the default admin. Let me fix this"
🙋🏾♂️ Can you help me:
The credentials ([email protected] / admin123) work in the preview 👇🏾:
https://destinycheck.preview.emergentagent.com/
But it's not working in the deployed app:
https://destinycheck.emergent.host/
I told the agent and he keeps telling me he fixed the bug but it's not working.
can you please try it now .
It worked thank you
Now I'm trying to create a new user and I'm receiving this message
Failed to execute 'json' on 'Response': body stream already read
I'll try working with the agent to fix it and get back to you if necessary
Hello @night agate, I have removed your original message. Please read #1463558255476211856 there is important information regarding usernames, emails and passwords not be be shared in tickets for safety and security reasons. I have removed your original post in the ticket for the safety of your admin account.
Also note that using default placeholder emails and passwords is not a secure way to login to any online accessible admin dashboard. We highly recommend you change that immediately to keep your admin dashboard safe.
Thanks,
TierOne - Mike.