ml-archive/storage

The XML you provided was not well-formed or did not validate against our published schema

Opened this issue · 0 comments

Hello,

I have tried doing a very simple implementation using the sample code provided here and I keep getting the error below in the response. Not really sure what the issue is, can someone put me in the right direction?

Response

The XML you provided was not well-formed or did not validate against our published schema`

Route implementation

router.get("upload", use: { req in
return try Storage.upload(dataURI: "data:,Hello%2C%20World!", fileName: "data-uri.png", on: req)
})

Configuration in configure.swift

let driver = try S3Driver(bucket: //my bucket name,
accessKey: //my access key,
secretKey: //my secret key,
region: // my region,
pathTemplate: "/")
services.register(driver, as: NetworkDriver.self)