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

Variable is never used in operation for dynamic inner parameter #61

Open
kumararvind opened this issue May 31, 2021 · 0 comments
Open
Labels

Comments

@kumararvind
Copy link

kumararvind commented May 31, 2021

Getting Error:
{"errors":[{"message":"Variable "$userId" is never used in operation "listUserStudies".","locations":[{"line":2,"column":28}],"path":[]}]}

Query:
{
query listUsersStudies($userId: String!){
listUsersStudies(limit: 250,
filter: {
pk: {
matchPhrasePrefix: $userId
}
}){
items{
pk
sk
status
versionStr
versionStatus
}
}
}
}

Variable :
"{"userId":"d97ca8de9436"}

Its been 2 days I got stuck here, I tried many ways but nothing works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants