Open dutchakdev opened 8 months ago
+1
+1
Same here on medusa 1.20.3
this error still exists
Same here with medusa 1.20.2 !
Edit: Product can be easily delete over the admin API call: DELETE /admin/products/{id}
I had the same issue in the admin panel with products without variants. I deleted those products using an API call.
However, in my case, products with variants could be deleted through the admin panel without any issues.
Bug report
Describe the bug
When attempting to delete a test product in MedusaJS, an
InternalServerError
occurs, indicating a problem with stream readability. This issue arises in the context of handling a request in the Medusa environment, specifically related to stream handling in theraw-body
module, as part of the request processing pipeline.System information
Steps to reproduce the behavior
InternalServerError: stream is not readable
error during the deletion process.Expected behavior
The expected behavior is the successful deletion of the test product without encountering any internal server errors. The process should complete smoothly, reflecting changes in the database and user interface accordingly.
Code snippets
InternalServerError: stream is not readable
Additional context
This issue seems to be related to the handling of streams within the MedusaJS framework, possibly linked to the way the body-parser library processes incoming requests. Further investigation into the handling of stream data in this specific context is needed.