Periodically the following script 'purecloud-platform-client-v2.min.js' complains that 'superagent.js' isn't found. We have confirmed it is available on all servers and works most of the time, however, when it doesn't work it results in our website becoming unusable as the JS doesn't finish loading.
Can I get some clarification on what superagent.js is being used for and if there is a way we can handle this gracefully?
Superagent is the request library used in the JS SDK.
If yours is an AMD app you must load superagent first before loading the SDK. Because the error is intermittent, you could have a race condition and sometimes superagent isn't being loaded before the SDK is loaded.
If it's a CJS app, could you please reply with the following and we can look into it further: