oscklmO
Convex Community2y ago
14 replies
oscklm

Cannot run yarn convex dev

I'm getting this error, but checking my schema, and everything seems fine? I tried removing the query i just added but that didn't fix it.

✖ Error: Unable to run schema validation on https://hushed-koala-696.convex.cloud
Error fetching POST  https://hushed-koala-696.convex.cloud/api/prepare_schema 400 Bad Request: InvalidSchema: Hit an error while evaluating your schema:
Invalid validator for key `json`: Not a field validator


Query i added:
export const getList = zQuery({
  args: {},
  handler: async (ctx) => {
    return ctx.db.query('channel').collect()
  },
})
Was this page helpful?