firestore-bigquery-export Collection path regex error
See original GitHub issue[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: _
firestore-bigquery-export
- Extension version: _
Version 0.1.5
- Configuration values (redact info where appropriate):
- Collection path: foo/{slug}/collection/document
[REQUIRED] Step 3: Describe the problem
I’m trying to setup this extension to sync a sub-collection with the collection path noted above. During installation I get the following error.
Error occurred while deploying resources: RESOURCE_ERROR:
/deployments/firebase-ext-firestore-bigquery-export-discovery/resources/fsexportbigquery
Deployment Field Violation Error: gcp-types/cloudfunctions-v1:projects.locations.functions: INVALID_ARGUMENT: Field: event_trigger (Expected value foo/{slug}/collection/document/{documentId} to match regular expression [^/]+/[^/]+(/[^/]+/[^/]+)*)
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Loading data from Firestore exports | BigQuery - Google Cloud
Your export command must specify a collection-ids filter. Data exported without specifying a collection ID filter cannot be loaded into BigQuery.
Read more >Configure Hosting behavior | Firebase Hosting - Google
Firebase Hosting compares the source or regex value against all URL paths at the start of every request (before the browser determines whether...
Read more >Chapter 4. Loading Data into BigQuery - O'Reilly
The problem is that, based on most of the data in the CSV file, BigQuery's schema autodetection expects that the 26th column (whose...
Read more >Cannot import existing collection from firebase to BigQuery
I'm using the firestore-bigquery-export extension for Firebase. ... after successful import: Error: ENOENT: no such file or directory, ...
Read more >Google Cloud Firestore - Make
Input the collection path. Select whether to specify the project, database, and collection manually (By Mapping) or using a drop-down menu (By Dropdown)....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@russellwheatley Gotcha! A possible improvement would be to make the regex error mention the word document, I think that might make it easier for everyone to debug 😀
@deplorableword You’re correct, thank you for bringing this to my attention! It isn’t possible to do wildcards via a Firestore query. But this isn’t a typical Firestore query, it is a cloud function that listens to documents as described here.
The reason why it failed initially is because you don’t have to specify the
document
part of the path, it is interpolated into a string withdocumentId
on the path already. See here. I’ll close this PR.Apologies for the confusion!