Has anyone else been having trouble with the api t...
# prisma-whats-new
c
Has anyone else been having trouble with the api tonight? playground has broken all of a sudden
Copy code
query($skip: Int, $limit: Int, $ids: [ID!]) {
  allArticles(skip: $skip, first: $limit, filter: {
  	id_not_in: $ids
  }) {
    id
  }
}
Copy code
{
  "first": 5,
  "skip": 100,
  "ids": []
}
Can't press the "play" button, query won't submit, dev console reads:
Copy code
invariant.js:19 Uncaught Error: Can only create NonNull of a Nullable GraphQLType but got: ID.
this is crashing my resolvers on the server side, I'm getting that pesky
"error": "Function returned invalid status code: 0. Raw body: empty.last"
error, even though a) I have no console.logs b) everything is wrapped in a try catch where I log e.message
can't debug the server portion, because the entire script returns that error when I try and use any sort of debug logging (with JSON.stringify, to avoid that bug). and then I can't test queries on the playground because the queries have broken all of a sudden
makes me think an update's gone out on graphcool end but I don't know
another note: i'm actually getting spotty consistency on function execution. does the
"error": "Function returned invalid status code: 0. Raw body: empty.last"
error occur if the function times out?
n
please reach out to support@graph.cool
c
got it, thanks @nilan