aws-amplify / aws-amplify/amplify-studio

Error when trying to see data content in amplify -> content (Data Manager)

Open
#1,090 12 comments 0 reactions 0 assignees View on GitHub
pending-triage question transferred
Dominant language
No language data
Stars
135
Forks
32
PR merge metrics
No merged PRs in 30d

Description

### Amplify CLI Version

12.2.3

### Question

I tried creating a new table in schema.graphQl :

```
type Stage @model @auth(rules: [{allow: public}]) {
id: ID!
name: String!
}

type CommunityType @model @auth(rules: [{allow: public}]) {
id: ID!
name: String!
}

type UserType @model @auth(rules: [{allow: public}]) {
id: ID!
name: String!
}
```

For all these above data model I am getting below error, when I try to view it in amplify :
Screenshot 2023-12-02 at 19 29 31

I am not able to insert data, Am doing something wrong in schema, amplify push command after creating schema was successful.

Contributor guide

Open the contributing guide

Research direction

Review the schema.graphQl models and reproduce the issue in Amplify Studio's Data Manager after the successful amplify push. Use the attached error as the starting point and verify completion by viewing and inserting records for Stage, CommunityType, and UserType; no source file or test is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql
Domain
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.