Firebase functions v2 trigger times
I am trying to refactor some Firebase functions code from v1 to v2. The code watches for changes in a sensitive part of the database and logs information about each change, including the time it occurred:
Child node stuck as it has exceeded 1MB (possibly a Firebase bug)
I have a user inside my /users/[id]
firebase realtime database doc that has 1,048,599
characters in its node, mainly due to them having too many favorites inside /users/[id]/favorites/[favorites]
, I read somewhere that the maximum is 1MB
, therefore adding anything to this node programmatically is throwing trigger_payload_too_large
error, along with the message TRIGGER_PAYLOAD_TOO_LARGE: This request would cause a function payload exceeding the maximum size allowed.
.