-
Notifications
You must be signed in to change notification settings - Fork 408
-
Already asked there without success
Js Blob and SDK Bytes return a serializing error.
Error: Value for argument "data" is not a valid Firestore document. Couldn't serialize object of type "Bytes" (found in field "binaryData"). Firestore doesn't support JavaScript objects with custom prototypes (i.e. objects that were created via the "new" operator).
Serializing works when i send it as Uint8Array but then it's displayed as a base64 string in firestore emulator..?
And when i try to retrieve it with Web SDK it return to me as byteString/binaryString object..?
What's the correct way to store bytes in firestore?
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment