title: Error: HTTP Error: 400, Request contains an invalid argument. when running firebase functions:config:set
body: <p>I'm following <a href="https://medium.com/@GaryHarrower/working-with-stripe-webhooks-firebase-cloud-functions-5366c206c6c" rel="nofollow noreferrer">this tutorial</a>. In it there is a step which states:</p>
  <blockquote>
  <p>Now we have our signing secret and our API key, let’s add them to our Firebase project as environment variables so we don’t need to check them in to any source control.</p>
  </blockquote>
  <pre><code>$ firebase functions:config:set \
      keys.webhooks=&quot;your_restricted_key&quot; \
      keys.signing=&quot;your_signing_key&quot;
  </code></pre>
  <p>So I set the restricted key as the TOKEN key of my webhook, and the signing key as my publishable key. I then try and run the code in the console (The command in code above).</p>
  <p><strong>It fails, returning the following error:</strong></p>
  <blockquote>
  <p>Error: HTTP Error: 400, Request contains an invalid argument.</p>
  </blockquote>