aws / aws/aws-appsync-community

AWSDate Not Working in AppSync Mutation

Open
#385 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
507
Forks
37
PR merge metrics
No merged PRs in 30d

Description

I have a postgres database in Aurora serverless, and one table contains a date field named discovered_date. After connecting this data source in Appsync the mutation is not working as expected. For the mutation the type for discovered_date is AWSDate and I have tried passing date string as mentioned in the documentation, but every time I am getting a validation error.

![Image](https://github.com/user-attachments/assets/a590018c-3399-4f77-9911-e93b58911af5)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the AppSync mutation against the Aurora Serverless PostgreSQL data source, using the AWSDate value described in the documentation and the attached validation-error image. Compare the mutation schema and discovered_date input with the reported validation error; done means the mutation accepts the date and writes it correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, postgres
Domain
api, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.