I tried to implement the new ListObjectsEnumAsync function. But when I execute it, the code crashed and gives the following error:
An unhandled exception has occurred while executing the request.
System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
at System.Xml.Linq.XDocument.Load(Stream stream, LoadOptions options)
at Minio.MinioClient.ListObjectsEnumAsync(ListObjectsArgs args, CancellationToken cancellationToken)+MoveNext()
at Minio.MinioClient.ListObjectsEnumAsync(ListObjectsArgs args, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
when I have logging enabled, I get I think a getting a valid xml from the minio server
I tried to implement the new ListObjectsEnumAsync function. But when I execute it, the code crashed and gives the following error:
when I have logging enabled, I get I think a getting a valid xml from the minio server
this is the code is used to get the objects:
I hope someone can figure out what's wrong here