<<< HTTP RESPONSE BODY {"error":{"code":400,"message":"The request has errors","status":"INVALID_ARGUMENT","details":[{"@type":"type.googleapis.com/google.rpc.BadRequest","fieldViolations":[{"field":"event_trigger","description":"Expected value not-a-project to equal #############"}]}]}}
Where ############# is the project name.
There is also:
[2020-05-30T10:05:11.879Z] Trigger is: {"eventTrigger":{"resource":"projects/not-a-project/databases/(default)/documents/bookings/{id}","eventType":"providers/cloud.firestore/eventTypes/document.create","service":"firestore.googleapis.com"}}
Can you paste all or part of the export of the function that's failing? This seems more likely to be an issue with the trigger rather than BFF... especially if the other functions are deploying successfully.
I have a project with 59 functions, all of the functions deploy successfully except the Cloud Firestore triggers.
Running
firebase deploy --debug --only functions:bookingsOnCreate
shows:Where
#############
is the project name.There is also: