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

Aデータデータ アクションは500エラーを返します。 

  • Google Cloud Functionの呼び出しが非JSON 応答 。
    • Genesys CloudデータアクションはJSON応答のみをサポートします。 JSONを返すようにGoogle Cloud Functionを変更します。
{
  "message": "The server encountered an unexpected condition which prevented it from fulfilling the request.",
  "code": "internal.server.error",
  "status": 500,
  "messageParams": {},
  "contextId": "af57b4fb-6642-4a30-87e8-ba1ad8291eb1",
  "details": [
    {
      "errorCode": "ACTION.PROCESSING"
    }
  ],
  "errors": [
    {
      "message": "REST call for action execute failed. Message:Result from google function could not be translated to JSON: error:Unrecognized token 'I': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false')\n at [Source: (String)\"I am not JSON!\"; line: 1, column: 2] [executionId=\"hwa45fo7da8p\"] [af57b4fb-6642-4a30-87e8-ba1ad8291eb1]",
      "code": "INTERNAL_SERVER_ERROR",
      "status": 500,
      "messageParams": {},
      "details": [],
      "errors": []
    }
  ]
}

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