Currently, I got this error when using current implementation. This is caused by not handling createUser method request properly and the User model toJson method deserialization not matching.
What I did :
Handled createUser by using http, handling deserialization properly and making roles paramater as optional.
Currently, I got this error when using current implementation. This is caused by not handling createUser method request properly and the User model toJson method deserialization not matching.
What I did : Handled createUser by using http, handling deserialization properly and making roles paramater as optional.
tested and working as expected :