Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@vercel/blob - Folder entry coming through as blob #640

Open
Kvek opened this issue Mar 26, 2024 · 1 comment
Open

@vercel/blob - Folder entry coming through as blob #640

Kvek opened this issue Mar 26, 2024 · 1 comment

Comments

@Kvek
Copy link

Kvek commented Mar 26, 2024

Hi,
When fetching the blobs using the list(), I noticed the sub folder (trending) containing the data coming through as an entry.

Folder structure in dashboard

Blob project

trending

...images

This happens for both folded and the default expanded modes.

config

import { list } from "@vercel/blob";

  const { blobs } = await list({
    mode: "folded",
    prefix: "trending/"
  });

Screenshot 2024-03-26 at 20 44 41

Screenshot 2024-03-26 at 20 45 15

Is this intended behaviour?


I also receive this error presumably because the blob's url entry isn't a valid image url.
The requested resource isn't a valid image for https://3gzqlfvwgaygv21a.public.blob.vercel-storage.com/trending/ 
received application/octet-stream

Thanks.

@GustavoBonfimS
Copy link

Same here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants