Ask Your Question
3

What does the AWS AppSync graphql error mean when attempting to add a custom primary key using amplify push?

asked 2022-01-09 11:00:00 +0000

lakamha gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2021-08-09 16:00:00 +0000

huitzilopochtli gravatar image

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.

edit flag offensive delete link more

Your Answer

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

Add Answer


Question Tools

Stats

Asked: 2022-01-09 11:00:00 +0000

Seen: 12 times

Last updated: Aug 09 '21