question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

InvalidParameterValueException on v3.2.3

See original GitHub issue

Just deployed the latest v3.2.3 and every time I run the new state machine I get the following error:

"error": {
    "Error": "InvalidParameterValueException",
    "Cause": "{\"errorType\":\"InvalidParameterValueException\",\"errorMessage\":\"The role defined for the function cannot be assumed by Lambda.\",\"trace\":[\"InvalidParameterValueException: The role defined for the function cannot be assumed by Lambda.\",\"    at Object.extractError (/var/runtime/node_modules/aws-sdk/lib/protocol/json.js:51:27)\",\"    at Request.extractError (/var/runtime/node_modules/aws-sdk/lib/protocol/rest_json.js:55:8)\",\"    at Request.callListeners (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:106:20)\",\"    at Request.emit (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:78:10)\",\"    at Request.emit (/var/runtime/node_modules/aws-sdk/lib/request.js:683:14)\",\"    at Request.transition (/var/runtime/node_modules/aws-sdk/lib/request.js:22:10)\",\"    at AcceptorStateMachine.runTo (/var/runtime/node_modules/aws-sdk/lib/state_machine.js:14:12)\",\"    at /var/runtime/node_modules/aws-sdk/lib/state_machine.js:26:10\",\"    at Request.<anonymous> (/var/runtime/node_modules/aws-sdk/lib/request.js:38:9)\",\"    at Request.<anonymous> (/var/runtime/node_modules/aws-sdk/lib/request.js:685:12)\"]}"
  }
}

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
alexcasalbonicommented, Mar 3, 2020

The only thing that changed in v3.2.3 is the new dryRun option, which shouldn’t impact IAM in any way.

I’ll keep this issue open - let me know if you find out more and/or if you find a way to reproduce it.

0reactions
theburningmonkcommented, Apr 9, 2020

@alexcasalboni it hasn’t shown up again, I wonder if the error was coming from the function itself. Let me close this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

node.js - Uploaded file must be a non-empty zip (Service ...
Uploaded file must be a non-empty zip (Service: AWSLambdaInternal; Status Code: 400; Error Code: InvalidParameterValueException; ; – FlorianDe.
Read more >
runtime parameter of nodejs8.10 is no longer supported #3149
(Service: AWSLambdaInternal; Status Code: 400; Error Code: InvalidParameterValueException; Request ID: 65a212db-26d5-4e62-8b0b-b75e3ed27496).
Read more >
Execution role does not have permissions to call ...
When trying to configure vpc_config you get the following error Jets version 2.3.18 Error message in cloudformation: The provided execution ...
Read more >
aws-android-sdk-lambda 2.2.11 javadoc (com.amazonaws)
This package provides features to invoke a Lambda function via dynamic proxy. com.amazonaws.mobileconnectors.util · com.amazonaws.services.lambda. Synchronous ...
Read more >
Class: AWS.Backup — AWS SDK for JavaScript
If you specify an invalid option, you get an InvalidParameterValueException exception. For more information about Windows VSS backups, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found