-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
amazon-cognito-identity-js : Cannot read property 'headers' of undefined #702
Comments
Hi, Best |
@Fefbug when will this go to npm ? |
@stripathix you can use amazon-cognito-identity-js 2.0.4 in npm beta (npm install amazon-cognito-identity-js@2.0.4 @manueliglesias Hi Could you push a new version of amazon-cognito-identity-js ? |
@manueliglesias can you assist? |
@Fefbug do you know if there is anyone else who can help? @manueliglesias isn't responding |
Hi, sorry about the delay here. I see the fix was merged and aws-amplify is using the newest version of amazon-cognito-identity-js Are any of you guys still experiencing issues? |
No. Looks good now. Not seen this bug in a long time. Thanks. |
Going to close this issue. Please reopen if you are still experiencing related issues. |
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 |
Do you want to request a feature or report a bug?
Report a bug
What is the current behavior?
This is an intermittent problem. While refreshing a session an error occured inside lib amazon-cognito-identit-js.
Error:
Cannot read property 'headers' of undefined
I was trying to refresh session to make sure that access token do not expire. No respose was returned, netither error was returned. Only error was logged in console.
This occured during below execution:
cognitoUser.refreshSession(refreshToken, function (err, refreshedSession) {});
Callback never executed.
The text was updated successfully, but these errors were encountered: