firebase / firebase/firebase-tools

Unable to Set strictTriggerValidation = false for Realtime Database Emulator

Open
#3,274 1 comment 0 reactions 0 assignees View on GitHub
emulator-suite emulators: database internal-bug-filed type: bug
Dominant language
TypeScript
Stars
4.5k
Forks
1.3k
Avg merge
1d 12h
Merged PRs (30d)
84

Description

### [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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.