{
    "status": "issues_found",
    "timestamp": "2026-10-06 03:55:11",
    "checks": {
        "service_account": {
            "status": "found",
            "project_id": "cake-ordering-app-30429",
            "client_email": "firebase-adminsdk-fbsvc@cake-ordering-app-30429.iam.gserviceaccount.com"
        },
        "tokens": {
            "customers": {
                "total": 22,
                "with_fcm_token": 21
            },
            "bakers": {
                "total": 5,
                "with_fcm_token": 4
            },
            "delivery": {
                "total": 9,
                "with_fcm_token": 4
            }
        },
        "firebase_config": {
            "status": "loaded",
            "project_id": "cake-ordering-app-30429"
        },
        "firebase_auth": {
            "status": "FAILED",
            "error": "Could not get access token. Check: 1) Service account file, 2) Private key format, 3) Server has openssl extension"
        },
        "server": {
            "openssl": "enabled",
            "curl": "enabled"
        }
    },
    "sample_tokens": {
        "customers": [
            {
                "user_id": "1",
                "name": "Praveen",
                "token_preview": "dTfqltVfSa2BW9MAX1_ndk:APA91bFgIbPXOGN7u..."
            },
            {
                "user_id": "2",
                "name": "praveen",
                "token_preview": "dTfqltVfSa2BW9MAX1_ndk:APA91bFgIbPXOGN7u..."
            }
        ],
        "bakers": [
            {
                "baker_id": "3",
                "shop_name": "vishnu sweet bakery",
                "token_preview": "c446rh1NTXOe50LMU6-rco:APA91bFcS0pjpp2P9..."
            },
            {
                "baker_id": "4",
                "shop_name": "rama krishna Bakery",
                "token_preview": "dTfqltVfSa2BW9MAX1_ndk:APA91bFgIbPXOGN7u..."
            }
        ]
    },
    "issues": [
        "Firebase authentication failed"
    ]
}