メモ:   この記事は、Google Cloud Functionsで使用した場合のGoogleデータアクション統合に適用されます。

エラー応答を受け取ると、エラー応答には executionId. 使用 executionId Googleトレースログを確認します。

{
  "message": "The server encountered an unexpected condition which prevented it from fulfilling the request.",
  "code": "internal.server.error",
  "status": 500,
  "messageParams": {},
  "contextId": "f7c01327-a83f-463c-a7ed-6241569ac37e",
  "details": [
    {
      "errorCode": "ACTION.PROCESSING"
    }
  ],
  "errors": [
    {
      "message": "REST call for action execute failed. Message:{\"error\":\"I was told to throw\"} [executionId=hwa4afe0np0k] [f7c01327-a83f-463c-a7ed-6241569ac37e]",
      "code": "INTERNAL_SERVER_ERROR",
      "status": 500,
      "messageParams": {},
      "details": [],
      "errors": []
    }
  ]
}

詳しくは、Google data actions integration について をご覧ください。