Skip to content
This repository has been archived by the owner on Apr 20, 2024. It is now read-only.

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

Open
mgawish opened this issue Jul 13, 2020 · 0 comments

Comments

@mgawish
Copy link

mgawish commented Jul 13, 2020

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)

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

No branches or pull requests

1 participant