Apple health data retrieval issue with summary

In Apple health I have the data for current day & my Application also connected with Apple Health. I gave all permissions regarding the health records. Some of the user the summary query is not getting executed & no data returned from the query. Most of the users are working fine. Background fetch is also enabled for Apple Health. The user is trying to sync the data in foreground. In crashlytics I got the error "Protected health data is inaccessible". Can you please help me when this error may come.

Apple health data retrieval issue with summary
 
 
Q