Hi All,
I am using push notification in PA (not flow) while button OnSelected to send to all my users, it works fine when there are few receivers, maybe less than 5 or 6, but when i add more users to 15, it shows error like this--
Is there any limitation to use push notification or how do i fix it?
Thanks
Hi,
I m sure about such kind of limits but for reference. you can use the below URL.
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/add-notifications
Or Can you plz mention the code that you are using.
So other users also understand the issue. and suggest if any change is required.
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
Please vote for my idea if you feel, that will help you in the future or good to have in power app.
https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Ability-s-to-Select-Icon-from-UIFabric/idi-p/69...
Thanks Tailor, here is my code --
PowerAppsNotification.SendPushNotification(
{
recipients:ForAll(Staff,Email),
message:"Leave Event - " & Request.EnglishName,
});
I also tried input each emails to the list by format list ["email1@mail.com","email2@mail.com",...,"email15@mail.com"], but it still showed error.
The error that you sent mentions a limitation of 15 (Max allowed:15) against 28 emails addresses entered.
Then it would make sense and the solution would be to send your requests by group of 15 addresses.
Does this error also happen when you enter less than 15 Emails addresses?
I only put 14 emails to the receiver, no idea why the error -- 'OR' operators: 28.
Is it possible to fix the max allowed number?
We have exactly the same error on our system.
We are also using SendPushNotification and recipients contains 12 valid emails but we get error of
"The request failed with error: '{\"odata.error\":{\"code\":\"Request_UnsupportedQuery\",\"message\":{\"lang\":\"en\",\"value\":\"Too many child clauses specified in search filter expression containing 'OR' operators: 24. Max allowed: 15.\"}
User | Count |
---|---|
259 | |
111 | |
97 | |
48 | |
41 |