Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

custom time stamp causing error #21

Open
ZaynJarvis opened this issue Feb 22, 2019 · 1 comment
Open

custom time stamp causing error #21

ZaynJarvis opened this issue Feb 22, 2019 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@ZaynJarvis
Copy link
Member

FirebaseError: Function DocumentReference.set() called with invalid data. Unsupported field value: a custom Timestamp object (found in field startTime)

I am encountering this error from last week. I am not sure how to debug this, is it the case that firebase disallowing adding custom timestamps?
I tries to use Timestamp.fromMillis(event.startTime), and Timestamp.fromDate(event.startTime),
Doesn't seem to work in both case.

@ZaynJarvis
Copy link
Member Author

Still having this unexpected error. Help wanted.

@clarencecastillo clarencecastillo self-assigned this Feb 22, 2019
@clarencecastillo clarencecastillo added the bug Something isn't working label Feb 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants