#I cannot edit my documents

1 messages · Page 1 of 1 (latest)

lapis stag
#

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 🤔

blissful kilnBOT
#

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](https://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!
copper olive
#

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

lapis stag
#

Sure, this is the error Type 'string' is not assignable to: v.bytes();. Yes it is defined.

copper olive
#

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