#Medusa Admin stuck on 'Help us get better'
16 messages · Page 1 of 1 (latest)
I had the same issue, had to hard reload.
The 404 is expected, im more interested in the payload of the request that results in a 500
Or actually I can see that the 404 is returned from a request where user_id is undefined. Are you getting the pop-up before you have logged in?
Can you share the payload of the request that is sent when you try to submit your email?
Hmm, can't really figure out how this would happen still. What version of the core (server) are you running?
Okay could I get you too update to the latest version of medusa (1.6.3) and then run medusa migrations run
yes in your server directory
Hi @white wagon ! Hi guys! I have a bug too. In my case I already logged in with my user, but when I click CONTINUE I get this error. It should be noted that my project is already deployed and yet I see that the endpoint where POST is done is localhost:9000, I have to update some environment variable? if so, what would it be? Thnku!
@harsh copper it uses the same env variable as the query client, so you shouldn’t need to add anything else then what you already have unless you’ve changed the other one. You can see where the url is set here: https://github.com/medusajs/admin/blob/4f3e5ab86d8688804dbefa8328a026c4b2cb550a/src/services/analytics.ts#L8
Thank you so much! 🤞
Could you give some context to when this happens, and what the exact issue is? Do you still get an 500 error when you try to submit, or is because it keeps reappearing even though you have already submitted your preferences once? And just to be clear, the pop-up will show up if you are logged in as a admin user, that has not previously set their analytics preferences. That means if you create a new user it will appear again, or if you wipe your database it will also appear again.
This “error” is expected when you haven’t set your analytics preference yet, and as a result the pop-up to set your preferences should appear after a couple of seconds.
Hmm, well I can’t really give you an answer why it is happening to you. We can’t reproduce it. Your error would indicate that your login session is sometimes undefined, which seems pretty strange. Have you done any customizations to your server? In any case you can disable the analytics entirely by adding MEDUSA_FF_ANALYTICS=false to your servers env variables, to get around the issue.
I also got this problem while updating the admin. I am blocked on this modal. Impossible to get away.
Error 404 at /analytics-config
Backend version @1.6.5
How did you solved that at the end ?
Make sure that you have run migrations, if the issue still persists than you can disable it completely by adding the feature flag to your env variables as I described in my previous message. But if you could share the error that your server is throwing than that would be great as we can’t reproduce the error ourselves so any insight on to why you to are facing it would be great 👍