Realm graphql throws error: cannot find app using Client App ID

I’m getting graphql error on first start of my app
Error is:
“cannot find app using Client App ID”
And when I refresh the app login again it works.

Configurations:
Node js 14,
electron 12.0.0
realm 10.10.1 (Node js SDK)

Here’s my code

const credentials = Realm.Credentials.jwt(token);
      console.log('credentials--->>>>', credentials)
      await app.logIn(credentials);
     return app.currentUser.accessToken