AWS AppSync GraphQL API Schema: Unknown argument "cognito_groups" on directive "@aws_cognito_user_pools". #32935
Unanswered
mjmangeles
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've noticed some recent changes in the AppSync UI within the AWS console. Upon reviewing the Schema tab of my GraphQL API, I encountered an error regarding the @aws_cognito_user_pools directive. Specifically, it seems to be related to restricting access to a specific Cognito user group, which was functioning correctly before the update.
I've searched for any official updates or documentation from AWS about this issue but haven't found any relevant information. Is there an updated syntax or a new way to define group-specific access in AWS AppSync that I might be missing? Below is a snippet from my schema where the error occurs:
The error message displayed in the console is: Unknown argument "cognito_groups" on directive "@aws_cognito_user_pools".
Any insights or guidance on this would be greatly appreciated!
P.S. I've also tried replacing the
cognito_groups
argument withgroups
, but the error still persists.Beta Was this translation helpful? Give feedback.
All reactions