medusajs / medusa

Building blocks for digital commerce
https://medusajs.com
MIT License
24.9k stars 2.49k forks source link

bug: export csv or products, orders not working with medusa-file-spaces file plugin #7506

Open matmar10 opened 4 months ago

matmar10 commented 4 months ago

Relates to #6282

Bug report

Describe the bug

When utilizing either the medusa-file-spaces plugin, the orders and products export report are not downloadable.

When using file-spaces, receive XML error:

<Error>
  <Code>NoSuchKey</Code>
  <Message/>
  <BucketName>setik</BucketName>
  <RequestId>tx00000ff62c4d4dd49bcaa-006655d9af-3bfb8894-sgp1b</RequestId>
  <HostId>3bfb8894-sgp1b-sgp1-zg02</HostId>
</Error>

System information

Medusa version (including plugins): @medusajs/medusa@1.20.6 & medusa-file-spaces@1.4.0 Node.js version: v20.12.2 Database: Postgres 16 Operating system: Mac Browser (if relevant): Brave & Chrome

Steps to reproduce the behavior

  1. Set up the medusa-file-spaces plugin according to the Medusa docs
  2. Ensure image file upload is working okay
  3. Navigate to Products & Click the "Export" button
  4. Wait for export to complete (notification)
  5. Click the notification download link

Expected behavior

File downloads when link clicked

Screenshots

XML Error Screenshot 2024-05-28 at 8 29 33 PM

github-actions[bot] commented 2 days ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 3 days.