'Why does the Amplify throws this error of "InvalidDirectiveError: User and Video cannot refer to each other via
Alright.
Keeping this short and simple for you.
You got three different models:
User
Video
Comment
And this is how they hold values:
User:
Video
Comment
Only an authenticated user from Cognito pools can do all create, update, read and delete. Other have to settle only with create and read.
Deploying this models ends up with this strange error.
Do you know why this newbie is facing with this issue? Any help in any shape or form would be greatly appreciated!
Thanks
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|




