FCM HTTP V1 API returns 404 for unregistered token

前端 未结 2 1250
失恋的感觉
失恋的感觉 2021-02-18 16:08

FCM HTTP v1 API supposed to return error code \"UNREGISTERED\" when device is unregistered (app uninstalled). However API returns 404 \"Requested entity was not found\".

2条回答
  •  逝去的感伤
    2021-02-18 16:38

    We face error 404 error code when sending notifications to Unregistered Devices via the old FCM endpoint:

    https://fcm.googleapis.com/fcm/send
    

    The documentation for API v1 has been updated and and does not contain this error code.

提交回复
热议问题