Describe the bug
AWS documentation says the Handler property has a max length 128 characters, but values exactly 128 characters long appear to be truncated to 127 characters in the dotnet6 Lambda runtime, and therefore fail.
Regression Issue
Expected Behavior
if the functionname is exact 128 then the lambda should work fine as the limit is 128.
A handler value exactly 128 characters long shouldn't be truncated and should invoke the handler method successfully.
Current Behavior
A handler value exactly 128 characters long
it truncates to 127 and produces error on func invocation: r is truncated in FunctionHandler
"errorType": "LambdaValidationException",
"errorMessage": "Unable to find method 'FunctionHandle' in type 'SSSSSSSSSSS.Services.SisSchAbsenceCreateScheduler.Handler' from assembly 'SSSSSSSSSSS.Services.LambdaSisAbsenceCreateScheduler': Found no methods matching method name 'FunctionHandle'.",
Reproduction Steps
Reproduction Steps
Create a Lambda with a handler specification that is exactly 128 characters long.
Try to invoke the function.
Possible Solution
No response
Additional Information/Context
No response
AWS .NET SDK and/or Package version used
.Net 6
Targeted .NET Platform
.Net
Operating System and version
Windows 10 Enterprise