strapi-community/strapi-provider-upload-google-cloud-storage

Unable to GET media from GCS bucket and add folder in media library

Shivam2101s opened this issue · 2 comments

Describe the bug
Uploading media is working fine, but will fetching images in the media library from the bucket gives 500

Error screenshot for fetching images from bucket

Screenshot 2023-06-06 at 3 51 47 PM

Error screenshot for adding folder

Screenshot 2023-06-06 at 6 21 06 PM

plugins.js file

Screenshot 2023-06-06 at 3 48 18 PM

middlewares.js file

Screenshot 2023-06-06 at 3 46 47 PM
Lith commented

Hello,

The problem describe has no relation with GCS.
GCS is working fine and your configuration looks good.

I suggest you to check the error details on your strapi instance, but your problem is related with filters set in URL with GET files routing.

Have you try to debug the GET /files route first ?

Thanks,

Hello Lith,
Yes tried debugging GET /files, and everything is the same as earlier, and no issues were found.

Is there anything else that I need to change ?

Thanks for your help