I'm trying to set the badge count with the ReST API to a fixed number. But I always get as a result:


{"ok":false,"error":"Could not parse request body.","error_code":40441,"details":{"error":"'10' is not a valid badge value.","path":"notification.ios.badge","location":{"line":6,"column":23}},"operation_id":"52c1ed33-b889-4801-a608-caf39dcbf2f2"}

Relative values "+1", "-1", "+10" and so on work.


What am I doing wrong?

Didn't find what you were looking for?

New post


1 comment

Please sign in to leave a comment.