✅ Service account file found
| Property | Value |
|---|---|
| Project ID | smsapi-inc-mk |
| Client Email | firebase-adminsdk-fbsvc@smsapi-inc-mk.iam.gserviceaccount.com |
| Private Key | ✅ Present |
✅ Project ID matches configuration
✅ Access token generated successfully
Token preview: ya29.c.c0AZ4bNpY1930H_5WR2_nPz...
Token length: 1024 characters
API Response:
{
"success": false,
"error": "{\n \"error\": {\n \"code\": 400,\n \"message\": \"Invalid value at 'message.data[1].value' (TYPE_STRING), 1772325830\",\n \"status\": \"INVALID_ARGUMENT\",\n \"details\": [\n {\n \"@type\": \"type.googleapis.com\/google.rpc.BadRequest\",\n \"fieldViolations\": [\n {\n \"field\": \"message.data[1].value\",\n \"description\": \"Invalid value at 'message.data[1].value' (TYPE_STRING), 1772325830\"\n }\n ]\n }\n ]\n }\n}\n",
"http_code": 400
}⚠️ Unexpected response
What's working:
Next steps:
Reply: "FCM v1 ready" to continue to API endpoint development
}
[curl_error] =>
)
--------------------------------------------------------------------------------
[2026-03-01 01:43:50] Generating new FCM access token
--------------------------------------------------------------------------------
[2026-03-01 01:43:50] FCM access token generated successfully
--------------------------------------------------------------------------------
[2026-03-01 01:43:50] Sending FCM message
Array
(
[token_preview] => fake_token_for_testi...
[data] => Array
(
[test] => connectivity
[timestamp] => 1772325830
)
)
--------------------------------------------------------------------------------
[2026-03-01 01:43:50] FCM response
Array
(
[http_code] => 400
[response] => {
"error": {
"code": 400,
"message": "Invalid value at 'message.data[1].value' (TYPE_STRING), 1772325830",
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": "type.googleapis.com/google.rpc.BadRequest",
"fieldViolations": [
{
"field": "message.data[1].value",
"description": "Invalid value at 'message.data[1].value' (TYPE_STRING), 1772325830"
}
]
}
]
}
}
[curl_error] =>
)
--------------------------------------------------------------------------------