4

I'm trying to post a message in Google chat through Chat rest api, but it's not working. Note : These api's were working fine before.But from yesterday it's not working. API : https://chat.googleapis.com/v1/spaces/{space-id}/messages

Request Body :

{
  "text":"Post Message reply",
  "cards":[
    {
      "header":{
        "title":"Card attached",
        "subtitle":"check for subtitle",
        "imageStyle":"AVATAR"
      },
      "sections":[
        {
          "widgets":[
            {
              "keyValue":{
                "topLabel":"toplabel calue",
                "content":"new content for my hangout bot",
                "contentMultiline":true,
                "bottomLabel":"bottomlabel string displyed"
              }
            }
          ]
        }
      ]
    }
  ]
}

Error Response:

{
  "error":{
    "code":500,
    "message":"Internal error encountered.",
    "status":"INTERNAL"
  }
}
Rafa Guillermo
  • 14,474
  • 3
  • 18
  • 54
vasanth vasu
  • 401
  • 5
  • 13

0 Answers0