There are a few potential causes for queryItems failing with “query service unavailable”. What it usually comes down to is that the indexes defined on your data type do not match the indexes used in the query you're performing and/or the data actually stored in the the queried field. Please ensure that your field is Indexed if you wish to sort your GameDataService documents.