Call failed with message: { "message": "Missing or malformed message resource name in the request. Make sure the message resource name follows this format: spaces\/{space}\/messages\/{message}", "code": 3, "status": "INVALID_ARGUMENT", "details": [ { "@type": "type.googleapis.com\/google.rpc.Help", "links": [ { "description": "See the Chat API reference documentation.", "url": "https:\/\/developers.google.com\/chat\/api\/reference\/rest" } ] } ] } Failed to list spaces: { "message": "Google Chat app not found. To create a Chat app, you must turn on the Chat API and configure the app in the Google Cloud console.", "code": 5, "status": "NOT_FOUND", "details": [ { "@type": "type.googleapis.com\/google.rpc.Help", "links": [ { "description": "To turn on the Google Chat API, go to the Google Chat API page in the Google Cloud console and click Enable.", "url": "https:\/\/console.cloud.google.com\/marketplace\/product\/google\/chat.googleapis.com" } ] }, { "@type": "type.googleapis.com\/google.rpc.Help", "links": [ { "description": "To configure your Chat app, go to the Google Chat API Configuration tab in the Google Cloud console.", "url": "https:\/\/console.cloud.google.com\/apis\/api\/chat.googleapis.com\/hangouts-chat" } ] }, { "@type": "type.googleapis.com\/google.rpc.Help", "links": [ { "description": "To learn about creating Google Chat apps, visit the documentation.", "url": "https:\/\/developers.google.com\/chat" } ] } ] }