trace
trace15mo ago

Error started showing up after I deleted all the documents from the DB

Error: [CONVEX Q(documents:getById)] ArgumentValidationError: Object is missing the required field `documentId`. Consider wrapping the field validator in `v.optional(...)` if this is expected.

Object: {}
Validator: v.object({documentId: v.id("documents")})


Called by client
Error: [CONVEX Q(documents:getById)] ArgumentValidationError: Object is missing the required field `documentId`. Consider wrapping the field validator in `v.optional(...)` if this is expected.

Object: {}
Validator: v.object({documentId: v.id("documents")})


Called by client
Any help on why this might be happening?
1 Reply
trace
traceOP15mo ago
I found my issue.

Did you find this page helpful?