Hello, Got an internal error running cj1hz26g80zy1...
# prisma-whats-new
u
Hello, Got an internal error running cj1hz26g80zy10104oyryo0as.
n
@uzu hey, is this in the Console or one of our APIs?
u
Hey, in the console playground, its my requestId
n
what are you trying to do?
u
query listItemsByUserPreferences($itemsLen: Int!,$userTagsIds: [ID!]!) { allItems ( first: 6 skip: $itemsLen filter: { tags_some: { id_in: $userTagsIds } } ){ id title type _tagsMeta{count} } }
h
Precision : it started happening when Brian joined as a collaborator. It only happens on Item table and may be related to the issue I pushed earlier? We get both the data and the error object in the playground, and only the error object on client-side
n
and only the error object on client-side
this is how Apollo handles errors I think
how is the enum field called?
does it appear in this query?
h
Indeed, getting the ENUM field breaks the query... This triggers and error only if type is in the payload : query yoNilan { allItems( first: 1 ){ id title type _tagsMeta{count} } } Where "type" is the ENUM field. I still can mutate items though