amplify-js icon indicating copy to clipboard operation
amplify-js copied to clipboard

Schema not saving in appsync graphql api

Open BastienFerrier opened this issue 3 years ago • 1 comments

Before opening, please confirm:

JavaScript Framework

React

Amplify APIs

GraphQL API

Amplify Categories

api

Environment information

Amplify app d23eugkgc4oqez

Describe the bug

I'm deploying a amplify app but while CloudFormation deploy stacks, it get stuck at api stack deployment on Schema resource. Here is the message I get on the event: "Schema Creation Status is FAILED with details: Internal Failure while saving the schema."

I checked everything but I don't see what could be blocking. It have already created multiple amplify app by the past and never add any issue at this step.

Any help would be really appreciated.

Expected behavior

Schema saved in API

Reproduction steps

Create APP in Amplify Add Graph QL Api Add table by creating a schema (deployment done with CloudFormation)

Code Snippet

// Put your code below this line.

Log output

// Put your logs below this line


aws-exports.js

No response

Manual configuration

No response

Additional configuration

No response

Mobile Device

No response

Mobile Operating System

No response

Mobile Browser

No response

Mobile Browser Version

No response

Additional information and screenshots

No response

BastienFerrier avatar Jul 28 '22 17:07 BastienFerrier

Hi @BastienFerrier, are you able to share the schema that is failing (or a minimum reproduction schema)?

dpilch avatar Aug 01 '22 16:08 dpilch

Hi :wave: @BastienFerrier, are you still experiencing this issue?

tannerabread avatar Oct 24 '22 17:10 tannerabread

Alternatively, you can run the command amplify diagnose --send-report and share the identifier id that is output.

chrisbonifacio avatar Oct 24 '22 18:10 chrisbonifacio

Hi 👋 @BastienFerrier, are you still experiencing this issue?

Well, I still get the issue but I found a workaround with my architecture. It's not really a fix but it's fine to me so far.

BastienFerrier avatar Oct 24 '22 19:10 BastienFerrier

Alternatively, you can run the command amplify diagnose --send-report and share the identifier id that is output.

Thanks' for the tip, didn't know about it.

BastienFerrier avatar Oct 24 '22 19:10 BastienFerrier