#✅ - Incorrect schemes are pushed and cannot be corrected.

6 messages · Page 1 of 1 (latest)

pallid cipher
#

An amplify pull will generate a schema.graphql containing the syntax error.

Even with no syntax errors (changed to only a single model), amplify api gql-compile fails. Does this compile the schema.graphql with errors that is being pushed?

:octagonal_sign: Syntax Error: Unexpected ")".

I am trying to reproduce the problem, but I am having trouble understanding how I could have pushed the schema.graphql containing the syntax error.

This also makes the schema.graphql in amplify studio empty and the contet inaccessible. Cloning the environment also failed with a syntax error.

Does anyone know how to deal with this?

obsidian turret
pallid cipher
#

hey thank you for comment. I'm using latest version 12.12.2.

obsidian turret
#

thank you for the information. It may be worth to open a Github issues on the API repository with your schema for further investigation.
Could you try installing an older of version Amplify CLI and see if this mitigates the issue.

pallid cipher
marble marlinBOT
#

✅ - Incorrect schemes are pushed and cannot be corrected.