firebase-tools icon indicating copy to clipboard operation
firebase-tools copied to clipboard

Unable to Set strictTriggerValidation = false for Realtime Database Emulator

Open godgav opened this issue 4 years ago • 1 comments

[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

godgav avatar Apr 13 '21 16:04 godgav

Filed an internal b/211315541 to track this.

weixifan avatar Dec 20 '21 01:12 weixifan