-
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
AWSPinpointProvider error when executing GraphQL operations on project without Analytics category #3489
Comments
Me too, for GraphQL api with JavaScript... |
Me too, for REST with JavaScript, after upgrading to amplify ver 1.7.4 |
Fixes the issue. |
I'm seeing the same thing after upgrading. Our application doesn't use Analytics. My Amplify configure command is using the aws-exports.js file so the @aehmt fix doesn't fit my case. |
When using AWS Amplify CLI (or MobileHub), the configuration is contained in the auto-generated aws-exports.js. Seeing these PinPoint issues re-appearing from time to time, maybe Amplify-CLI could add the Analytics: { disabled: true } iff the CLI has not added the Analytics service. In the meantime,
|
Adding @leantide fix did the trick for me. |
Thanks @leantide also fix the issue for me |
Thanks @leantide! |
This error message should no longer fire after this PR was merged: #3614 I am going to close this issue per the fix above. Please open a new issue if there are any related problems. |
#3484 (comment) worked for me |
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 |
There seems to be changes introduced in
aws-amplify
that causes AWS PinPoint code to execute when doing GraphQL operations even though Analytics is not added to the Amplify project.The error happens when executing GraphQL operations server side (TypeScript)
This started happening after upgrading my project to the latest versions, although I'm not sure which package causes the issue. (This also relates to #3486 that happens after the version upgrade, I added the workaround polyfill as suggested there and now this happens.
Environment:
node 10.16.0
amplify 1.7.4
The text was updated successfully, but these errors were encountered: