# Validating template error

**URL:** <https://forum.serverless.com/t/validating-template-error/9043>\
**Category:** Serverless Framework\
**Tags:** aws\
**Created:** [August 11, 2019, 4:16pm UTC](https://forum.serverless.com/t/validating-template-error/9043 "2019-08-11T16:16:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![eddie-velez](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/eddie-velez/32/2602_2.png) [@eddie-velez](https://forum.serverless.com/u/eddie-velez)\
**Post date:** [August 11, 2019, 4:16pm UTC](https://forum.serverless.com/t/validating-template-error/9043/1 "2019-08-11T16:16:50Z")

</div>

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.
