8000 listBuckets method throw "InvalidBucketNameError: Invalid bucket name : undefined" · Issue #1384 · minio/minio-js · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

listBuckets method throw "InvalidBucketNameError: Invalid bucket name : undefined" #1384

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

Closed
joseaburt opened this issue Feb 15, 2025 · 3 comments

Comments

@joseaburt
Copy link

Given method does not expect any parameter as given snippet prove:

async listBuckets(): Promise<BucketItemFromList[]>

Even of that the logic of this feature throw "InvalidBucketNameError: Invalid bucket name : undefined".

An image says more then 1000 words, so here I will attach a image that trace the along this method until get the bug:

Image

The bug is that in the options never is given the "bucketName".

The following image shows that given bugs was previsualized and introduced anyway asing eslint-disable-next-line @typescript-eslint/no-non-null-assertion:

Image

@prakashsvmx
Copy link
Member
prakashsvmx commented Feb 15, 2025

Can you please share mc admin trace -v ALIAS ? Is it wit MinIO or AWS S3, ? any other object storage. ?

@prakashsvmx
Copy link
Member
8000 prakashsvmx commented Feb 18, 2025

Please re open with details as there are functional test to cover such scenarios.

@joseaburt
Copy link
Author
joseaburt commented Feb 18, 2025

Please re open with details as there are functional test to cover such scenarios.

Hi bro, i quit using that, because does not work. I just wanted to let u guys know. If u follow the function call, u will see in any part that value is set, so it value is undefined and that's why this fail.

if u think is ok, so ignore it.
THanks

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

No branches or pull requests

2 participants
0