Baris
Baris•5d ago

I cannot edit my documents

Hi, i'm using dashboard and trying to edit one of my documents but it says fix errors to save it. My document has a v.bytes() field that causes the error. But there is nothing invalid about the value of it. It is a normal array buffer value 🤔
4 Replies
Convex Bot
Convex Bot•5d ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
ari
ari•5d ago
Hi Baris, thanks for reporting this. Can you share the exact error message you see? Is this field defined in your schema? The team is out today for a federal holiday, but we’ll take a look at this this week
Baris
BarisOP•5d ago
Sure, this is the error Type 'string' is not assignable to: v.bytes();. Yes it is defined.
ari
ari•4d ago
Thank you, I’ll follow up when we have an update. Apologies for any inconvenience. You may be able to temporarily work around this by changing the fields definition to v.any() in your schema, but that would of course give you less type safety in your code A fix for this bug was deployed today. Thanks again for the report https://github.com/get-convex/convex-backend/commit/9638858e28d76f27583d0093b9fddef764041d46

Did you find this page helpful?