Hi @Aabot ,
Thanks for reaching out.
This error occurs when the fetch call to the /token endpoint exceeds the allotted time. It indicates a potential network connection problem between your device and the /token endpoint, possibly arising from various factors.
This is difficult to debug from our end as it's not an issue with the library. It as an issue with your environment. If you're making thousands of calls it is possible you're getting throttled by the server.
Also, check if there are any network restrictions or version updates on the production box that might be blocking the authentication requests.
Issue: Version of node is not upgraded in the production environment
Resolution: As @Aabot mentioned,
Thanks,
Shweta