-
Notifications
You must be signed in to change notification settings - Fork 424
Open
Labels
type: bugSomething isn't workingSomething isn't working
Description
[READ] Step 1: Are you in the right place?
Yes.
[REQUIRED] Step 2: Describe your configuration
- Extension name:
fs-bq-schema-views - Extension version:
0.4.12 - Configuration values (redact info where appropriate):
npx @firebaseextensions/fs-bq-schema-views \
--non-interactive \
--project=${project} \
--big-query-project=${project} \
--dataset=clinicas_firebase_export \
--table-name-prefix=clinicas \
--schema-files=./clinicas.json
[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
I run the command
npx @firebaseextensions/fs-bq-schema-views \
--non-interactive \
--project=${project} \
--big-query-project=${project} \
--dataset=clinicas_firebase_export \
--table-name-prefix=clinicas \
--schema-files=./clinicas.json
It passes local validation, however it gives me back an API error. I suspect an API got updated, but not the script.
I know the project is being read from the stdin because if I run
npx @firebaseextensions/fs-bq-schema-views \
--non-interactive \
--project-a=${project} \
--big-query-project=${project} \
--dataset=clinicas_firebase_export \
--table-name-prefix=clinicas \
--schema-files=./clinicas.json
The error message is error: unknown option '--project-a=${project}'. So all the options are passed properly and the problem is once hitting an API.
Expected result
It generates the schema properly.
Actual result
{"code":400,"errors":[{"message":"ProjectId must be non-empty","domain":"global","reason":"badRequest"}],"response":{"headers":{"alt-svc":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000","content-type":"application/json; charset=UTF-8","date":"Tue, 14 Oct 2025 13:44:45 GMT","transfer-encoding":"chunked"}},"message":"ProjectId must be non-empty"}
ProjectId must be non-empty
```
Metadata
Metadata
Assignees
Labels
type: bugSomething isn't workingSomething isn't working