Я следил за https://medium.com/@dantasfiles / testing-pu sh -notifications-with- aws -amplify-9126bd621d3a ... во время aws2 pinpoint send-messages --cli-input-json file://pinpoint-send-messages.json
дает ошибка
"MessageResponse": {
"ApplicationId": "YOUR AWS PINPOINT PROJECT ID",
"EndpointResult": {
"YOUR ENDPOINT ID": {
"DeliveryStatus": "PERMANENT_FAILURE",
"StatusCode": 410,
"StatusMessage": "{\"errorMessage\":\"Unregistered or expired token\",\"channelType\":\"GCM\",\"pushProviderStatusCode\":\"200\",\"pushProviderError\":\"InvalidRegistration\",\"pushProviderResponse\":\"{\\\"results\\\":[{\\\"error\\\":\\\"InvalidRegistration\\\"}],\\\"multicast_id\\\":\\\"1231312312312312\\\",\\\"success\\\":0,\\\"failure\\\":1,\\\"canonical_ids\\\":0}\"}"
}
}
},
}
}```