I have continued without success to try and test the trigger which connect to my firestore.
I want to trigger when a new document is added to a collection. here is the code:
{
"select":
{
"fields":
{
"measureRef"
}
]
},
"from":
{
"CompletedMeasures
}
]
}
I keep getting this error
Failed to fetch a record from Firebase / Firestore
Error while retrieving: The specified query does not contain valid JSON. Unexpected token } in JSON at position 65
I have added/removed the braces but not joy.. Help please what’s wrong??