Closed tncbbthositg closed 3 years ago
This is a known issue, I am going to mark this issue as a duplicate in favor of #7284. Please follow this issue, thanks!
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.
Looking for a help forum? We recommend joining the Amplify Community Discord server *-help
channels or Discussions for those types of questions.
On 2020-11-25, AWS Cognito experienced an outtage.
Our users received an error message that read:
The stack trace I was able to get at the time was as follows:
By the time I started looking into it, authentication was beginning to work more reliably so reproducing the issue became effortful.
In any case, I think this may be the culprit: https://github.com/aws-amplify/amplify-js/blob/ba8a73f41db6411b91b208fea3202408c55f029b/packages/amazon-cognito-identity-js/src/Client.js#L98
It might be worth checking to see if
data.__type
ordata.code
resolve before trying to.split('#')
them. Based on the context, it's possible that we'd like to throw a network error: