#Admin having partial api request errors

19 messages · Page 1 of 1 (latest)

open karma
#

I have my medusa admin as a plugin with the backend with NODE_ENV set to development. The Admin panel seems to work fine, I am able to add products and edit them, although I am not able to add any customers to customer groups. My Medusa Admin is 7.1.11 and medusa at 1.20.1. Here is a screenshot of the browser console, can anyone please help me. I have been stuck at this thing for days!!!

sage cedar
#

What is the backend log saying?

open karma
sage cedar
#

This is for the 500, is this a fresh install?

open karma
#

no, I have been running this since few weeks

sage cedar
#

Have you upgraded? Ran migration? Did some customization?

open karma
#

To my knowledge the API request or query is incorrect, I used postman to send a different request by removing group= at the end of the request that returned 500

sage cedar
#

Can you catch the payload please?

open karma
#

I did run migrations to check if that was causing error, no luck, no rows or columns added, I think this is the Admin UI issue sending a invalid request, I haven't changed the admin UI, here is my medusa-config: { resolve: "@medusajs/admin", /** @type {import('@medusajs/admin').PluginOptions} */ options: { autoRebuild: true, develop: { open: process.env.OPEN_BROWSER !== "false", }, }, },

#

This query worked:

sage cedar
#

I just tested and it works for me

#

can you share the output of npm ls

#

and medusa -vas well

sage cedar
#

hold on managed to reproduce

#

looks like this always existed as error

#

can you open an issue on github?

open karma
#

yeah sure!

#

Thank you sir for helping me!