Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

Reply
aki_h
Frequent Visitor

Notification from Webhook activity to Google Chat

Hi.

 

I would like to be notified if the data pipeline has succeeded or failed for the Google Chat webhook.

However, the following error occurs and it does not work.

 

 

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."
          }
        ]
      }
    ]
  }
}

 

 

The URL is taken from Google Chat, and the other settings are as follows
The error did not change whether the header was set or not.

 

Method:  POST

Body:  @json('{"text":"Notify From Microsoft Fabric!"}')

 

Can anyone give me some tips on how to solve this problem?

 

Thanks

2 ACCEPTED SOLUTIONS

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.

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.

I am currently looking for a solution and will post the results for the benefit of developers trying to solve similar problems.

View solution in original post

aki_h
Frequent Visitor

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.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @aki_h ,

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.

 

So I think you can take the following steps:

 

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:

{
"text": "Notify From Microsoft Fabric!"
}


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.

 

3. Double-check the Google Chat API documentation to ensure you are using the correct fields and format.

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.

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.

I am currently looking for a solution and will post the results for the benefit of developers trying to solve similar problems.

aki_h
Frequent Visitor

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.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June FBC25 Carousel

Fabric Monthly Update - June 2025

Check out the June 2025 Fabric update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.