I cannot able to create subscription for todo tasklist. Response error says "Invalid resource specified in payload"? I was using the same payload and it did worked before.

Dinesh D 6 Reputation points
2021-11-15T02:54:25.737+00:00

Request Body:
{
"changeType": "created",
"notificationUrl": "https://6f23-120-29-22-161.ngrok.io/outlookmessages/incoming",
"resource": "me/todo/lists/AAMkAGZlMmMwNjE5LWIwYmYtNDlmZC1hOWZkLTg3ZjNlNjE4MjJhMwAuAAAAAACnFdQwvrzITbQjmiWYGhW2AQAVhvvk3z7pRq2Y57XX_VJZAAA-NfHkAAA=/tasks",
"expirationDateTime":"2021-11-16T18:23:45.9356913Z",
"clientState": "secretClientValue",
"latestSupportedTlsVersion": "v1_2"
}

Response:
{
"error": {
"code": "ExtensionError",
"message": "Operation: Create; Exception: [Status Code: BadRequest; Reason: Invalid resource specified in payload]",
"innerError": {
"date": "2021-11-15T02:51:17",
"request-id": "4e3b37f7-7dac-4b3d-8334-96dae0398dfc",
"client-request-id": "4e3b37f7-7dac-4b3d-8334-96dae0398dfc"
}
}
}

The tasklist Id is valid and I could able to recieve notificaiton for validation at the specified endpoint.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,286 questions
0 comments No comments
{count} vote