from the code above, I set payload to empty string to force the error and run.
It only shows debug text (#1. RpcAsync Start) and follow with error message “ApiResponseException: Error: Payload Empty. at APIName (index.js:868:5(52))”
The other debug text never appear on the console, even the debug text #4 is not showing up.
Could anyone please guide me how can I get this to work with try-catch block?
Thanks in advance for any answer & Best regards,
Bodin
thank you very much for your reply.
sorry, but I have some confuse where to put await in LoginAsync.
This is the code in LoginAsync method. could you please guide where to implement that?