I am experiencing an issue in which a contract call ends up returning an AWS lambda related Error.
Autotask ID: 27766ed2-4997-42b7-bfd5-43dfe20acb2c
Line which throws ERROR
I have checked that:
A) contract.bountyType(string) is indeed a method on the OpenQABI
B) issueId is defined and a normal string
C) the address for OpenQ used to create that contract is indeed defined and a valid address.
Any idea what the deeper meaning of this error is?
Full Error log:
2022-10-05T21:34:04.892Z ERROR MissingRequiredParameter: Missing required key 'FunctionName' in params
at ParamValidator.fail (/var/runtime/node_modules/aws-sdk/lib/param_validator.js:50:37)
at ParamValidator.validateStructure (/var/runtime/node_modules/aws-sdk/lib/param_validator.js:62:14)
at ParamValidator.validateMember (/var/runtime/node_modules/aws-sdk/lib/param_validator.js:89:21)
at ParamValidator.validate (/var/runtime/node_modules/aws-sdk/lib/param_validator.js:34:10)
at Request.VALIDATE_PARAMETERS (/var/runtime/node_modules/aws-sdk/lib/event_listeners.js:132:42)
at Request.callListeners (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
at callNextListener (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:96:12)
at /var/runtime/node_modules/aws-sdk/lib/event_listeners.js:86:9
at finish (/var/runtime/node_modules/aws-sdk/lib/config.js:396:7)
at getStaticCredentials (/var/runtime/node_modules/aws-sdk/lib/config.js:423:7) {
code: 'MissingRequiredParameter',
time: 2022-10-05T21:34:04.877Z
}