24

I have tried using command line functions:config:unset es.tipsinstitue.type as it is given here Environment Configuration. But this does not work for me. It gives me following exception.

 The filename, directory name or volume label syntax is incorrect.

Please help me.

1
  • More broadly, any time you use a Firebase Functions from the command line (or indeed most Firebase commands in general), you need to prefix with firebase, as that's the system command being run. In your case, you just needed to run firebase functions:config:unset es.tipsinstitue.type.
    – bsplosion
    Jul 1, 2021 at 18:52

1 Answer 1

50

Don't know whether it is documentation bug or not. Use firebase functions:config:unset es.tipsinstitue.type instead of functions:config:unset es.tipsinstitue.type. This will remove your environment variable

1
  • 9
    @Cabuxa.Mapache, you can unset multiple keys like this: firebase functions:config:unset key1 key2 Feb 18, 2019 at 8:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.