firebase-tools
firebase-tools copied to clipboard
Unable to Set strictTriggerValidation = false for Realtime Database Emulator
[REQUIRED] Environment info
firebase-tools: 9.9.0
Platform: macOS
[REQUIRED] Test case
For the emulated environment it's impossible to set strictTriggerValidation = false
[REQUIRED] Steps to reproduce
Start firebase emulator:
firebase emulators:start
Send Request
PUT http://localhost:9000/.settings/strictTriggerValidation/.json?auth=PTQbI0EZ7E7SMmQeMrLpAxGlfmVJSXG1Nq5L4XXX
false
[REQUIRED] Expected behavior
expected response
{
"status": "ok"
}
[REQUIRED] Actual behavior
{
"error": "Could not parse auth token."
}
Auth token taken from Service Account settings page, Database Secrets section for my project. Emulator is started for the same project
Filed an internal b/211315541 to track this.