🐛 [firestore-bigquery-export] Install an older version 0.1.22 that triggers 1st generation Cloud Functions
[READ] Step 1: Are you in the right place?
Issues filed here should be about bugs for a specific extension in this repository. If you have a general question, need help debugging, or fall into some other category use one of these other channels:
- For general technical questions, post a question on StackOverflow with the firebase tag.
- For general Firebase discussion, use the firebase-talk google group.
- To file a bug against the Firebase Extensions platform, or for an issue affecting multiple extensions, please reach out to Firebase support directly.
[REQUIRED] Step 2: Describe your configuration
- Extension name:
bigquery-export-salesplays - Extension version:
0.1.22 - Configuration values (redact info where appropriate):
- Project Id - example.com:dashboard-demo
- Enable Wildcard Column field with Parent Firestore Document IDs (Optional) - No
- BigQuery SQL table Time Partitioning option type (Optional) - None
- BigQuery SQL Time Partitioning table schema field(column) type (Optional) - omit
[REQUIRED] Step 3: Describe the problem
Our company's internal projects contain a colon : in the project ID such as - example.com:dashboard-demo
The newest version of the extension is triggering a 2nd generation Cloud Function, which does not accept a colon : in the project ID.
I'm trying to install an older version of the extension such as 0.1.22, such that it creates a Firestore trigger for Cloud Function 1st generation instance. I have successfully done this a year ago and my BigQuery sync works in the same project.
Now I keep getting the following error even when I try to install an older version.
Project id is invalid; must only contain lowercase letters, numbers, and hyphens, or, if a legacy ID, contain exactly one colon between organization and project IDs
What can I change in the configuration to be able to trigger a 1st gen Function with a Firestore event trigger?
Steps to reproduce:
What happened? How can we make the problem occur? This could be a description, log/console output, etc.
Expected result
I should be able to install a version that triggers 1st gen Cloud Function with Firestore trigger.
Actual result
It fails with an error
Project id example.com:dashboard is invalid; must only contain lowercase letters, numbers, and hyphens, or, if a legacy ID, contain exactly one colon between organization and project IDs
Hi @hhermine
I've added this from our backlog for investigation.
Hi @hhermine
This is issue has been escalated as a platform issue, rather than a specific Firebase Extension issue.
A fix is been worked on, and we'll keep you updated.
Hi @hhermine
If you wish to install an earlier version of the extension, i believe this is possible (though i wouldn't usually advise it) by accessing the specific install link, for example for 1.1.22 :
https://console.firebase.google.com/project/_/extensions/install?ref=firebase%[email protected]
This issue is confusing to me as I thought even in the latest extensions we only deploy v1 functions.