storage icon indicating copy to clipboard operation
storage copied to clipboard

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

Open mgawish opened this issue 5 years ago • 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

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

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)

mgawish avatar Jul 13 '20 11:07 mgawish