I have a question about push notification API.
I've created web_hook URL under my service for push notification, so I can fetch URL for document change status with selfLink.
But I get 404 codes sometimes when I fetch URL with selfLink.
Please let me know why Drive API response 404 code sometimes.
Scenario:
Request body from google push notification server.
{
"kind": "drive#changes",
"id": "12345",
"selfLink": "https://www.googleapis.com/drive/v2/changes/12345"
}
Fetch URL under my server.
GET https://www.googleapis.com/drive/v2/changes/12345
Response body
{
"error": {
"errors": [
{
"domain": "global",
"reason": "notFound",
"message": "Change not found: 12345"
}
],
"code": 404,
"message": "Change not found: 12345"
}
}