awslabs / aws-mobile-appsync-sdk-js

JavaScript library files for Offline, Sync, Sigv4. includes support for React Native
Apache License 2.0
919 stars 266 forks source link

undefined is not an object (evaluating 'w.subscriptionFailedCallback') #641

Open divyP opened 3 years ago

divyP commented 3 years ago

Note: If your issue/feature-request/question is regarding the AWS AppSync service, please log it in the official AWS AppSync forum

Do you want to request a feature or report a bug? bug

What is the current behavior? subscription not working

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. exception TypeError: undefined is not an object (evaluating 'w.subscriptionFailedCallback')

What is the expected behavior? how to handle this?

Which versions and which environment (browser, react-native, nodejs) / OS are affected by this issue? Did this work in previous versions? Mobile Safari and version 14.1

PathFinder5196 commented 3 years ago

Is there any update on this? we are hitting sentry quota for this error

pehel commented 2 years ago

+1

shawngustaw commented 1 year ago

I may have a fix for this here if someone can test/verify:

https://github.com/awslabs/aws-mobile-appsync-sdk-js/pull/747