Validating template error

After updating sls to version 1.32.0 and adding a new Lambda function I get the following error:

Serverless: Validating template…

Error --------------------------------------------------

Error: {“errorMessage”:“Page not found”}

It’s coming from your validateTemplate.js file line 29. I have not changed a thing except added an inline iAMRole statement and new function.