cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Error when sending Push notifications to Powerapps from Flow

I am trying to send a simple push notification from flow to a power app when a new record is created in a SharePoint list.  I have added the SendPushNotification connection to the flow.  However, I'm not sure what ot put in the Recipients Item or Parameters box for the required input on this box.  I have tried several different options and continue to get an error.  

 

Status code 400

 

Body 

 

{ "error":{

  "code":"InvalidRequestContent",

  "message": "The request content was invalid and could not be deserialized: 'Error converting value 53 to type"Microsoft.WindowsAzure.ResourceStack.Common.Collections.InsensitiveDictionary'1[System.String]".Path'params',line 1, postion53'."

 

Can someone help me understand what I should enter in the "SendPushNotification" conector inputs for

 

     Recipents Item

     Message

     Open App

     Parameters

 

Thanks

Todd

 

1 REPLY 1
Highlighted
Community Support
Community Support

Re: Error when sending Push notifications to Powerapps from Flow

Hi @thanke,

 

The Recipents field requires list of user emails or user principle identifiers, so we need to fill an array value which contains email address in Recipents field. The Message field require message body for the push notification, please fill a string value in it. The Open App field indicates that whether to open or not the app when user taps on the push notification. Within Parameters field, we need to fill a json value.

I have made a test on my side, please take a try with the following workaround:8.PNG

 The flow works successfully as below:9.JPG

 

More details about PowerApps Notification (Preview) connector, please check the following document:

PowerApps Notification (Preview)

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (4,312)