You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AWS CLI has ability to use file as payload: aws lambda invoke --payload file://test_event.json I tried to go the same way, but unsuccessful:
Payload:
file://test_event.json
ERROR: Build step failed with exception
java.lang.RuntimeException: com.amazonaws.services.lambda.model.InvalidRequestContentException: Could not parse request body into json: Unrecognized token 'file': was expecting 'null', 'true', 'false' or NaN
Please, add such feature it should be straightforward.
The text was updated successfully, but these errors were encountered:
AWS CLI has ability to use file as payload:
aws lambda invoke --payload file://test_event.json
I tried to go the same way, but unsuccessful:Please, add such feature it should be straightforward.
The text was updated successfully, but these errors were encountered: