Mendapatkan Access Token...
Access Token berhasil didapat.
Mulai skrip notifikasi untuk hari: Jumat 
Mengirim ke Guru ID 1: Jadwal Anda hari ini: Mengajar Pendidikan Jasmani Olahraga dan Kesehatan (Kelas 10-DKV). 
Hasil: {
  "error": {
    "code": 400,
    "message": "The registration token is not a valid FCM registration token",
    "status": "INVALID_ARGUMENT",
    "details": [
      {
        "@type": "type.googleapis.com/google.firebase.fcm.v1.FcmError",
        "errorCode": "INVALID_ARGUMENT"
      },
      {
        "@type": "type.googleapis.com/google.rpc.BadRequest",
        "fieldViolations": [
          {
            "field": "message.token",
            "description": "The registration token is not a valid FCM registration token"
          }
        ]
      }
    ]
  }
}
 
Mengirim ke Guru ID 2: Jadwal Anda hari ini: Mengajar Pendidikan Budi Pekerti dan Agama Islam (Kelas 11-DKV). 
Hasil: {
  "error": {
    "code": 404,
    "message": "NotRegistered",
    "status": "NOT_FOUND",
    "details": [
      {
        "@type": "type.googleapis.com/google.firebase.fcm.v1.FcmError",
        "errorCode": "UNREGISTERED"
      }
    ]
  }
}
 
Mengirim ke Guru ID 11: Jadwal Anda hari ini: Mengajar Desain Grafis Komputer (Kelas 12-DKV). 
Hasil: {
  "name": "projects/classyncapp-9a6b6/messages/0:1785470921493402%090e08f4090e08f4"
}
 
Mengirim ke Guru ID 13: Jadwal Anda hari ini: Mengajar Pendidikan Budi Pekerti dan Agama Islam (Kelas 12-DKV). 
Hasil: {
  "error": {
    "code": 400,
    "message": "The registration token is not a valid FCM registration token",
    "status": "INVALID_ARGUMENT",
    "details": [
      {
        "@type": "type.googleapis.com/google.firebase.fcm.v1.FcmError",
        "errorCode": "INVALID_ARGUMENT"
      },
      {
        "@type": "type.googleapis.com/google.rpc.BadRequest",
        "fieldViolations": [
          {
            "field": "message.token",
            "description": "The registration token is not a valid FCM registration token"
          }
        ]
      }
    ]
  }
}
 
Mengirim ke Guru ID 18: Jadwal Anda hari ini: Mengajar Adabul Alim Wal Mutaalim (Kelas 11-DKV), Mengajar Adabul Alim Wal Mutaalim (Kelas 10-DKV). 
Hasil: {
  "error": {
    "code": 400,
    "message": "The registration token is not a valid FCM registration token",
    "status": "INVALID_ARGUMENT",
    "details": [
      {
        "@type": "type.googleapis.com/google.firebase.fcm.v1.FcmError",
        "errorCode": "INVALID_ARGUMENT"
      },
      {
        "@type": "type.googleapis.com/google.rpc.BadRequest",
        "fieldViolations": [
          {
            "field": "message.token",
            "description": "The registration token is not a valid FCM registration token"
          }
        ]
      }
    ]
  }
}
 
Mengirim ke Guru ID 16: Jadwal Anda hari ini: Piket Sesi Seharian. 
Hasil: {
  "name": "projects/classyncapp-9a6b6/messages/0:1785470921798444%090e08f4090e08f4"
}
 
Mengirim ke Guru ID 15: Jadwal Anda hari ini: Piket Sesi Seharian. 
Hasil: {
  "error": {
    "code": 400,
    "message": "The registration token is not a valid FCM registration token",
    "status": "INVALID_ARGUMENT",
    "details": [
      {
        "@type": "type.googleapis.com/google.firebase.fcm.v1.FcmError",
        "errorCode": "INVALID_ARGUMENT"
      },
      {
        "@type": "type.googleapis.com/google.rpc.BadRequest",
        "fieldViolations": [
          {
            "field": "message.token",
            "description": "The registration token is not a valid FCM registration token"
          }
        ]
      }
    ]
  }
}
 
Skrip notifikasi selesai.
