Push notification sometime fails

Hi freinds

       I am using push notification for both android and ios.
       sometimes I am not getting push notification on either ios or android.
      Can anyone tell me how to debug this?
      Here is my code for sending push...

            "priority": 10,
            "contentAvailable": true

 Do I need change anything from above code?