serverless-appsync-plugin
serverless-appsync-plugin copied to clipboard
I'm trying to update and existing appsync and I get a strange error
While the serverless validator says that schema is valid, AWS suddenly stopped accepting it with the reason beeing:
An error occurred: GraphQlSchema - Schema Creation Status is FAILED with details: Schema has the following errors:
- Schema contains duplicate type names..
I don't know if this could be because of how the schema is compiled or some AWS bug. I'm positive that there are no duplicate type names.
have a look in the .serverless
folder. look for the generated CloudFormation stack.
In these try to see what is the generated Schema and see what happens.