# Error in the "login" method

**URL:** <https://devforum.zoom.us/t/error-in-the-login-method/720>\
**Category:** Windows\
**Created:** [September 21, 2017, 3:04pm UTC](https://devforum.zoom.us/t/error-in-the-login-method/720 "2017-09-21T15:04:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leonardo\_Cunico](https://avatars.discourse-cdn.com/v4/letter/l/13edae/32.png) [@Leonardo\_Cunico](https://devforum.zoom.us/u/Leonardo_Cunico)\
**Post date:** [September 21, 2017, 3:04pm UTC](https://devforum.zoom.us/t/error-in-the-login-method/720/1 "2017-09-21T15:04:07Z")

</div>

Hi, I’m writing a CLR wrapper of the C++ library.

At some point, the “login” method&nbsp;started to give back a “false” result, but dunno what I changed to cause this problem.

For the log, when using the same credentials in&nbsp;the sdk\_demo app, this correctly returns “true”.

In theory I’m doing the same operations chain before calling the login: I call the “init” method on of the authService and then the SDKAuth method, and both returns “true”.

The returned error is a “SDKError::SDKERR\_UNAUTHENTICATION”, which description in the .h file &nbsp;is “_Not Authentication before use_”, and, be patient, I can’t really say what’s the meaning of that phrase.

&nbsp;Can you&nbsp;help me on this problem? Do you need more info?

Thanks.

---

<div class="post-metadata">

**Author:** ![dats\_liao](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dats_liao/32/464_2.png) [@dats\_liao](https://devforum.zoom.us/u/dats_liao)\
**Post date:** [September 22, 2017, 12:58am UTC](https://devforum.zoom.us/t/error-in-the-login-method/720/2 "2017-09-22T00:58:58Z")

</div>

you need to wait the&nbsp;onAuthenticationReturn call back event and the result is&nbsp;AUTHRET\_SUCCESS. after that, you can call other sdk API. thanks.

---

<div class="post-metadata">

**Author:** ![Leonardo\_Cunico](https://avatars.discourse-cdn.com/v4/letter/l/13edae/32.png) [@Leonardo\_Cunico](https://devforum.zoom.us/u/Leonardo_Cunico)\
**Post date:** [September 22, 2017, 5:37am UTC](https://devforum.zoom.us/t/error-in-the-login-method/720/3 "2017-09-22T05:37:35Z")

</div>

Many thanks, I’ll look a it.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 26, 2021, 7:00pm UTC](https://devforum.zoom.us/t/error-in-the-login-method/720/4 "2021-08-26T19:00:06Z")

</div>

Closing as solved.

-Tommy

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 26, 2021, 7:00pm UTC](https://devforum.zoom.us/t/error-in-the-login-method/720/5 "2021-08-26T19:00:10Z")

</div>

Closed on August 26, 2021, 7:00pm UTC


