The AWS AppSync GraphQL error when attempting to add a custom primary key using Amplify push usually means that there is a conflict between the existing data and the new schema. This error can occur if there are records in the database with the same ID as the new custom primary key you are trying to add. In order to fix this error, you may need to remove or modify any existing records with the conflicting ID in order to successfully add the new primary key. Another potential solution is to use a different primary key that does not conflict with existing data.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2022-01-09 11:00:00 +0000
Seen: 12 times
Last updated: Aug 09 '21
How can a custom CSS stylesheet be incorporated into Tailwind CSS?
How do you call a method in a custom view from a ViewModel?
After transitioning from Angular 7 to 8, why are custom fonts failing to load?
How can one develop a custom control for WPF?
What does the custom domain feature of Gatsby-Cloud entail?