Ask Your Question
0

What does the error message "ReferenceError: addDoc is not defined at HTMLFormElement.<anonymous>" indicate while attempting to add data to Firestore?

asked 2021-08-15 11:00:00 +0000

nofretete gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2021-06-18 02:00:00 +0000

pufferfish gravatar image

The error message indicates that there is no function called addDoc defined in the current scope. This likely means that the code attempting to add data to Firestore is attempting to call a function that doesn't exist, or is not properly defined. This could be due to a typo or a missing import statement.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-08-15 11:00:00 +0000

Seen: 7 times

Last updated: Jun 18 '21