AWS Execution failed due to configuration error: Authorizer error
<p>I created 2 Authorizers to an API Gateway Endpoint. One manually using console and the other one using boto3. 
The one created manually works great, however the one created using script gives error mentioned in the subject line. If you check the contents of these 2 authorizers, they are the same.</p>

<p>What can be the missing part? I dont think this is Invalid permission on lambda as it is working on one authorizer when configured manually.</p>

<p><code></p>

<pre><code>The code for the same is as below:
response = client.create_authorizer(
               restApiId=apiid,
               name=authName,
               type='TOKEN',
               authType='custom',
               authorizerUri=authorizerUri,
               ##arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:&lt;AcctId&gt;:function:CustomAuthorizer/invocations
               identitySource='method.request.header.Authorization',
               identityValidationExpression= '.*',
               authorizerResultTtlInSeconds=300
           )
</code></pre>

<p></code></p>

<p>Getting error:
Mon Jul 18 11:53:04 UTC 2016 : Execution failed due to configuration error: Invalid permissions on Lambda function
Mon Jul 18 11:53:04 UTC 2016 : Execution failed due to configuration error: Authorizer error
Mon Jul 18 11:53:04 UTC 2016 : AuthorizerConfigurationException</p>