Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UPDATE_FAILED: GraphQlSchema Property Validation Failure #601

Open
fetree opened this issue May 12, 2023 · 0 comments
Open

UPDATE_FAILED: GraphQlSchema Property Validation Failure #601

fetree opened this issue May 12, 2023 · 0 comments

Comments

@fetree
Copy link

fetree commented May 12, 2023

I am upgrading from version 1 to version 2.2.0. I have followed the doc to upgrade and want to use js resolvers.
I am getting an error that swaps between

Property validation failure: [Length of value for property {/Definition} is less than minimum allowed length {1}]```

and

```CREATE_FAILED: GraphQlDs27 (AWS::AppSync::DataSource)
Property validation failure: [Value for property {/Name} does not match pattern {[_A-Za-z][_0-9A-Za-z]*}]```

Configuration for resolver: 

```'Query.getStuff': {
        functions: [
          {
            dataSource: 'dynamoDbDataSource,
            code: 'mapping-templates/getStuff.js',
          },
        ],
      },```

When using request/response and using a vtl file it is able to deploy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant