I am using Firebase's Remote Config service. I am trying to upload a "config from JSON file" as their options suggest, but am shown this error:
Yet, I'm not sure why my JSON is invalid. Here is the file (remote_config.json
):
{
"messages": {
"welcome_message": "Welcome",
"other_message": "Hello, there!"
},
"app_features": {
"feature_one_enabled": false,
"feature_two_enabled": true
}
}
Your JSON looks quite different than the example in the documentaton on remote config templates.
To ensure you use the correct format, I recommend creating the template in the Firebase console, downloading it through the API, and then modifying the downloaded template.