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
{"message":"container exit code 2"}
Fn: Error calling function: status 502
The function does work with JSON data. If you pass:
{"name":"Bob"}
or even
{"name":""}
the function works fine. Tried modifying the function to test for null and isEmpty. Nothing like that worked. I'm guessing the function is throwing an uncaught exception.
The error is pretty clear that an attempt to convert null to an an object failed. Null input should result in a null object passed to the function handler.
{ "message":"Unhandled internal error in FDK", "detail":"An exception was thrown during Input Coercion: Failed to coerce event to user function parameter type class com.example.fn.HelloFunction$Input"}
After the adding JSON support for Java Fn function, if the function is passed an empty value, Fn returns:
The function does work with JSON data. If you pass:
or even
the function works fine. Tried modifying the function to test for null and isEmpty. Nothing like that worked. I'm guessing the function is throwing an uncaught exception.
May be related to 392 or 1192
Mike W.
The text was updated successfully, but these errors were encountered: