I get an internal server error when I run app for the first time when using Graphql query with variable using useQuery hook. I pass the id from list item to query variable