Question
SDK issue failed to fetch client.account().get() on login success
I am trying to log in using ring central SDK in the js app after login success I am getting a fetch error.
.then(() => { console.log('Login success', client.account());
return client.account().get();
return client.account().get();
versions we using
"@ringcentral/sdk": "^4.7.0", "ringcentral-client": "^1.0.0-beta.2"
main.js:69 Error occured TypeError: Failed to fetch
at Client.<anonymous> (Client.ts:93:38)
at step (index.js:17:1)
at Object.next (index.js:17:1)
at index.js:17:1
at new Promise (<anonymous>)
at __awaiter (index.js:17:1)
at Client._loadResponse (Client.ts:92:48)
at Client.<anonymous> (Client.ts:76:35)
at step (index.js:17:1)
at Object.next (index.js:17:1)