@MartinSahlen Based on the logs, there is response payload. However, the function seems continue running, can't finish execute until encounter "connection error". Thus, can't get the response from the functions URL.

fromcloudfn.flask_handlerimporthandle_http_eventfromflaskimportFlask, request, Responseapp=Flask('the-function')
@app.route('/run', methods=['GET'])deftestrun():
returnResponse(str(123456), mimetype='text/plain')
handle_http_event(app)
@MartinSahlen Based on the logs, there is response payload. However, the function seems continue running, can't finish execute until encounter "connection error". Thus, can't get the response from the functions URL.