Can't deploy ... S3 complains of invalid XML?

aws

#1

I have a new project and am attempting to deploy just a single Lambda (nodejs) function for now. The function itself works locally and I’ve ensured it transpiles (from TS), and is lint free but when I deploy with sls deploy it appears it does push the compiled cloud transformation template to S3. I can view it as a JSON file and it appears to be valid JSON. Anyway, the error I get at the command line is:

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

It reports my environment is:

Your Environment Information -----------------------------
OS: darwin
Node Version: 8.9.3
Serverless Version: 1.24.1

Interestingly (or maybe it isn’t), my currently installed version of serverless is 1.25.0 which I can validate with sls -v.


#2

I’m having the same issue here. A week ago I upgraded to 1.25.0 and it started to prompt error messages like “function with same version is already created” and “XML is not valid”.