cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
thanke
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
v-xida-msft
Community Support
Community Support

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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (3,249)