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
onUpdate Subscription throwing client errors #2552
Comments
I debugged this. Problem can be found in:
The errors were essentially that So a workaround was to change my mutation from
to
If you need anything else don't hesitate to ping me |
You might be wondering as well why I'm using
|
Hi @kekami reading the issue description, this sounds like the issue was with the hand written mutation in the EventBridge CDK code's selection set not matching the subscription's? You might have been able to adjust the selection set on the subscription itself like so: await client.models.Employee.onUpdate({
selectionSet: ["id", "firstName", "lastName"],
}); |
Environment information
Description
Having issues getting subscription to work, when trying out the
.onUpdate()
subscription, I'm getting the following error message on the client. It works in the AppSync console.The text was updated successfully, but these errors were encountered: