Calling an API returning two variables, "allowed" which is a boolean and "message" which is a string.
It errors out
Now, transforming the boolean to an integer, it works :
NB : The boolean works just fine if the API returns 0 instead of false :
The CallBack's OnSuccess method doesn't change between the two screenshots.
My OnConnectData which cause the error is :
class OnConnectData { bool allowed; string message; }