The path parameter configuration in POST is not working and throwing illegal argument exception. The deserialization of Request object seems to be fine from log
java.lang.IllegalArgumentException: wrong number of arguments
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.lambadaframework.runtime.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:148)
at org.lambadaframework.runtime.Handler.handleRequest(Handler.java:62)
at org.lambadaframework.runtime.Handler.handleRequest(Handler.java:13)
at lambdainternal.EventHandlerLoader$PojoHandlerAsStreamHandler.handleRequest(EventHandlerLoader.java:178)
at lambdainternal.EventHandlerLoader$2.call(EventHandlerLoader.java:888)
at lambdainternal.AWSLambda.startRuntime(AWSLambda.java:281)
at lambdainternal.AWSLambda.<clinit>(AWSLambda.java:64)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at lambdainternal.LambdaRTEntry.main(LambdaRTEntry.java:94)
The path params seem to work fine for GET, but not for POST.. Is there any difference between how GET vs POST is implemented..? Any pointers to help troubleshooting further will be greatly appreciated.
The path parameter configuration in POST is not working and throwing illegal argument exception. The deserialization of Request object seems to be fine from log
But throws the error message:
The path params seem to work fine for GET, but not for POST.. Is there any difference between how GET vs POST is implemented..? Any pointers to help troubleshooting further will be greatly appreciated.
Thanks, Raja.