title: Deployment of GCP's Google Functions not possible, returning an empty error
body: <p>I am new to GCP and just trying to work with deployment of my first Google Functions. Initially I tried to deploy the most basic default function, one that's being loaded automatically by GCP with 'Hello World'. However when deploying it deployment fails and I am returned with empty error message, id, types etc. (see below)</p>
  <p>Deployment failure:
  Build failed:</p>
  <pre><code>{
      &quot;metrics&quot;: {},
      &quot;error&quot;: {
          &quot;buildpackId&quot;: &quot;&quot;,
          &quot;buildpackVersion&quot;: &quot;&quot;,
          &quot;errorType&quot;: &quot;OK&quot;,
          &quot;canonicalCode&quot;: &quot;OK&quot;,
          &quot;errorId&quot;: &quot;&quot;,
          &quot;errorMessage&quot;: &quot;&quot;
      },
      &quot;stats&quot;: [
          {
              &quot;buildpackId&quot;: &quot;google.utils.archive-source&quot;,
              &quot;buildpackVersion&quot;: &quot;0.0.1&quot;,
              &quot;totalDurationMs&quot;: 35,
              &quot;userDurationMs&quot;: 35
          },
          {
              &quot;buildpackId&quot;: &quot;google.python.functions-framework&quot;,
              &quot;buildpackVersion&quot;: &quot;0.9.6&quot;,
              &quot;totalDurationMs&quot;: 74,
              &quot;userDurationMs&quot;: 74
          },
          {
              &quot;buildpackId&quot;: &quot;google.python.pip&quot;,
              &quot;buildpackVersion&quot;: &quot;0.9.2&quot;,
              &quot;totalDurationMs&quot;: 7589,
              &quot;userDurationMs&quot;: 7580
          },
          {
              &quot;buildpackId&quot;: &quot;google.utils.label&quot;,
              &quot;buildpackVersion&quot;: &quot;0.0.2&quot;,
              &quot;totalDurationMs&quot;: 0,
              &quot;userDurationMs&quot;: 0
          }
      ],
      &quot;warnings&quot;: null,
      &quot;customImage&quot;: false
  }
  </code></pre>
  <p>Can anyone advise on what might go wrong here?</p>
  <p>Edit: Adding source of code for refference:</p>
  <pre><code>def hello_world(request):
      &quot;&quot;&quot;Responds to any HTTP request.
      Args:
          request (flask.Request): HTTP request object.
      Returns:
          The response text or any set of values that can be turned into a
          Response object using
          `make_response &lt;http://flask.pocoo.org/docs/1.0/api/#flask.Flask.make_response&gt;`.
      &quot;&quot;&quot;
      request_json = request.get_json()
      if request.args and 'message' in request.args:
          return request.args.get('message')
      elif request_json and 'message' in request_json:
          return request_json['message']
      else:
          return f'Hello World!'
  </code></pre>