<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Notification from Webhook activity to Google Chat in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Notification-from-Webhook-activity-to-Google-Chat/m-p/4336046#M6673</link>
    <description>&lt;P&gt;After contacting Microsoft support, there was no way to avoid the automatic assignment of properties, so we decided to implement a Python notification process in Notebook.&lt;/P&gt;</description>
    <pubDate>Thu, 19 Dec 2024 04:29:06 GMT</pubDate>
    <dc:creator>aki_h</dc:creator>
    <dc:date>2024-12-19T04:29:06Z</dc:date>
    <item>
      <title>Notification from Webhook activity to Google Chat</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Notification-from-Webhook-activity-to-Google-Chat/m-p/4312570#M6533</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to be notified if the data pipeline has succeeded or failed for the Google Chat webhook.&lt;/P&gt;&lt;P&gt;However, the following error occurs and it does not work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Activity failed because error occurred while processing the request: {
  "error": {
    "code": 400,
    "message": "Invalid JSON payload received. Unknown name \"callBackUri\" at 'message': Cannot find field.",
    "status": "INVALID_ARGUMENT",
    "details": [
      {
        "@type": "type.googleapis.com/google.rpc.BadRequest",
        "fieldViolations": [
          {
            "field": "message",
            "description": "Invalid JSON payload received. Unknown name \"callBackUri\" at 'message': Cannot find field."
          }
        ]
      }
    ]
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The URL is taken from Google Chat, and the other settings are as follows&lt;BR /&gt;The error did not change whether the header was set or not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Method:&amp;nbsp; POST&lt;/P&gt;&lt;P&gt;Body:&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;@&lt;/SPAN&gt;&lt;SPAN&gt;json(&lt;/SPAN&gt;&lt;SPAN&gt;'{"text":"Notify From Microsoft Fabric!"}'&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can anyone give me some tips on how to solve this problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 03:34:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Notification-from-Webhook-activity-to-Google-Chat/m-p/4312570#M6533</guid>
      <dc:creator>aki_h</dc:creator>
      <dc:date>2024-12-04T03:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Notification from Webhook activity to Google Chat</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Notification-from-Webhook-activity-to-Google-Chat/m-p/4314210#M6542</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="884106" data-lia-user-login="aki_h" class="lia-mention lia-mention-user"&gt;aki_h&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;It looks like the error you're encountering is due to an invalid JSON payload being sent to the Google Chat webhook. Specifically, the error message indicates that the field callBackUri is not recognized.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I think you can take the following steps:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Ensure that your JSON payload matches the expected structure for Google Chat webhooks. The payload should be a simple JSON object with a text field. For example:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
"text": "Notify From Microsoft Fabric!"
}&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;2. Make sure there are no extra fields in your JSON payload that Google Chat does not recognize. The error message suggests that callBackUri is not a valid field.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Double-check the Google Chat API documentation to ensure you are using the correct fields and format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Yilong Zhou&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 01:17:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Notification-from-Webhook-activity-to-Google-Chat/m-p/4314210#M6542</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-12-05T01:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Notification from Webhook activity to Google Chat</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Notification-from-Webhook-activity-to-Google-Chat/m-p/4324084#M6593</link>
      <description>&lt;P&gt;This is similar to what I asked ChatGpt, but I think I can tell if the Body you pointed out does not contain callBackUri as you indicated in your question.&lt;/P&gt;&lt;P&gt;After posting this question, I was checking the official reference and was able to guess that the callBackUri property is automatically added to the Body to control the Timeout.&lt;/P&gt;&lt;P&gt;I am currently looking for a solution and will post the results for the benefit of developers trying to solve similar problems.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 14:34:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Notification-from-Webhook-activity-to-Google-Chat/m-p/4324084#M6593</guid>
      <dc:creator>aki_h</dc:creator>
      <dc:date>2024-12-11T14:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Notification from Webhook activity to Google Chat</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Notification-from-Webhook-activity-to-Google-Chat/m-p/4336046#M6673</link>
      <description>&lt;P&gt;After contacting Microsoft support, there was no way to avoid the automatic assignment of properties, so we decided to implement a Python notification process in Notebook.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2024 04:29:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Notification-from-Webhook-activity-to-Google-Chat/m-p/4336046#M6673</guid>
      <dc:creator>aki_h</dc:creator>
      <dc:date>2024-12-19T04:29:06Z</dc:date>
    </item>
  </channel>
</rss>

