Closed rudrankriyam closed 3 years ago
I am having a similar issue when using from.remove() message: "body should have required property 'prefixes'", status: 400
How did you add this property using the client methods?
I forked the repo, added the package to my project and made the change manually. I couldn’t think of any alternate solutions
Thanks
Their C# and python clients do use prefixes in the body, so it looks like the documentation is outdated.
You can fork and make the necessary changes. I'll send a PR for this
Solved by #3
Bug report
Describe the bug
Bad request error while fetching all the files within a bucket.
To Reproduce
After fetching the buckets successfully, the list method returns a bad request.
Expected behaviour
After forking the package and printing the data, I found that the body is missing the prefix parameter -
Adding the prefix parameter worked, and it returned the files. However, there's no mention of the prefix in the JS docs.