Please, what does mean a ZERO statusCode in { statusCode: 0, headers: undefined, body: undefined } ? Sometimes, I have this value in the catch bloc while calling getCallsCllId or getConversationsConversationIdEvaluationsEvaluationId. Though second API calls with the same ids give the expected response.
Yes, I can... However I have surprisingly this kind of error :
And when I check the body of the variable with console.log(JSON.stringify(pureCloudSession, null, 4)), I have this: { "options": { "environment": "mypurecloud.ie", "strategy": "client-credentials", "clientId": "**********************************", "clientSecret": "************************************************", "timeout": 20000, "storageKey": "pureCloudSessionKey" }, "apiUrl": "https://api.mypurecloud.ie", "authUrl": "https://login.mypurecloud.ie" }
Yes, that has been deprecated and will not receive any updates (and hasn't been updated in 6+ months). You need to use the package in the announcement I linked.