Signup request throws a serialization exception when ints are passed as user variables. (class com.amazon.coral.value.json.numbers.TruncatingBigNumber can not be converted to an String). Even when the user variable is defined as an int in the Cognito user pool.
Casting (string) before passing to your registerUser function fixes the issue. Perhaps your variables loop can just cast each variable to string? Or is that a bad idea?
Signup request throws a serialization exception when ints are passed as user variables. (class com.amazon.coral.value.json.numbers.TruncatingBigNumber can not be converted to an String). Even when the user variable is defined as an int in the Cognito user pool.
Casting (string) before passing to your registerUser function fixes the issue. Perhaps your variables loop can just cast each variable to string? Or is that a bad idea?