I'm getting an error when I call NextLink from the response of first delta.
Any ideas why it's happens?
first call:
https://graph.microsoft.com/beta/users/4ca91597-4091-4cce-856b-7472b3f9ade1/calendars/AAMkAGM3MDdhNGZlLWRjYTUtNGZkYS04NTcxLTU2OTNkZWEwNDlhYQBGAAAAAAAmh2PA4MC8QpGOM1iWfgeZBwCI_1RC5zxoQrQX6X2piZBLAAAAAAEGAACI_1RC5zxoQrQX6X2piZBLAAAAjD53AAA=/events/delta
response:
{
"#odata.context": "https://graph.microsoft.com/beta/$metadata#Collection(event)",
"#odata.nextLink": "https://graph.microsoft.com/beta/users/4ca91597-4091-4cce-856b-7472b3f9ade1/calendars/AAMkAGM3MDdhNGZlLWRjYTUtNGZkYS04NTcxLTU2OTNkZWEwNDlhYQBGAAAAAAAmh2PA4MC8QpGOM1iWfgeZBwCI_1RC5zxoQrQX6X2piZBLAAAAAAEGAACI_1RC5zxoQrQX6X2piZBLAAAAjD53AAA=/events/delta?$skiptoken=S-9EQM7OmIraj-ou9n4yBgQa6fEPxPaBcX7TFg2kKSyrl9s4t08HSSZnFF-gwy4A9E6Yg7ADWLv-z3JJ4D5p_galSKYHzmiN98EJV1ewagGy4vLP_Ccf6Ry5MQoXRx_NxwVr9hFfl2aiymXlEAMXUSGMaX9Yc7O2q6czmAFcCr_ZEL7TGy0sQqgOA7UzNZ64ocJyQRBMUjvuE19KlhqPkA.XaSRYkwmW-IAiW8ABt7Qi1gz7aHGDe2uF-m2RdF2lLM
...}
and on call NextLink I'm getting error:
{
"error": {
"code": "InvalidDeltaToken",
"message": "The value 'NCZUMk42WmtGWmFqZFdSVXh1VUVkb1EzUkNabkJtWVcxS2EwVnpRVUZPVmtWelJEQkNRVUZCUVE9PQ=='
of parameter '$deltaToken' is invalid.",
"innerError": {
"date": "2020-09-27T19:04:42",
"request-id": "6897b163-5d66-4223-8c01-ab40a0417c35",
"client-request-id": "3455e667-c7e7-9c6d-e18e-5c94c37150c8"
}
} }
UPD.1
problem with header:
rPrefer = odata.maxpagesize=50
if you are MS's developer please open ticket.
Related
I'm getting the response with invalid JSON (brackets aren't closed) when trying to get the MS ToDo task for the user. Also, API sends HTTP status 200 with that response.
Request/response examples:
https://graph.microsoft.com/v1.0/me/todo/lists/:listID/tasks/:taskID
{
"title": "DELETED",
"createdDateTime": "2020-06-17T18:33:44.3228459Z",
"lastModifiedDateTime": "2020-11-27T11:36:55.8037415Z",
"id": "DELETED",
"linkedResources": [
{
"error": {
"code": "InternalServerError",
"message": "Invalid object within the collection response from workload for navigation property linkedResources with declaring type microsoft.graph.todoTask. Expected a JObject, but got Jtoken type - Null",
"innerError": {
"date": "2021-05-14T03:13:36",
"request-id": "5b9445b0-7405-436a-8179-cac92a8af087",
"client-request-id": "5b9445b0-7405-436a-8179-cac92a8af087"
}
}
}
How can I resolve this issue?
I'm getting an error of ResourceNotFound while integrating and calling POST v1.0/me/contacts:
{
"error": {
"code": "ResourceNotFound",
"message": "Resource could not be discovered.",
"innerError": {
"date": "2021-03-01T15:45:47",
"request-id": "76062d8a-e541-4a52-ae08-9b196dd8e07d",
"client-request-id": "dd8b8c41-22bb-2b78-c926-3063ef313ba0"
}
}
}
I get the same from Graph Explorer:
Note: token is used, API permissions given.
Can anyone please guide/help on this issue?
I'm getting a 500 error while invoking https://graph.microsoft.com/beta/me/profile endpoint from
Graph explorer (https://developer.microsoft.com/en-us/graph/graph-explorer). When I check the network tab, I can see the error response as below. Any idea why? I tried resetting my birthdate multiple times from account.microsoft.com but that is still not fixing the timestamp & lastModifiedBy issue
{"#odata.context":"https://graph.microsoft.com/beta/$metadata#users('...')/profile/$entity","id":"profileId","addresses#odata.context":"https://graph.microsoft.com/beta/$metadata#users('...')/profile/addresses","addresses":[],"anniversaries#odata.context":"https://graph.microsoft.com/beta/$metadata#users('...')/profile/anniversaries","anniversaries":[{"type":"birthday","date":"...","allowedAudiences":"me","createdDateTime":"2020-06-30T21:52:30.364606Z","inference":null,"lastModifiedDateTime":"2020-06-30T21:52:30.364606Z"{
"error": {
"code": "InternalServerError",
"message": "The property 'lastModifiedBy[Nullable=False]' of type 'microsoft.graph.identitySet' has a null value, which is not allowed.",
"innerError": {
"date": "2020-06-30T22:15:16",
"request-id": "b9402c6b-297d-4190-a829-8297dae69d9d"
}
}
}{
"error": {
"code": "InternalServerError",
"message": "Unexpected end when deserializing object. Path 'anniversaries[0].lastModifiedDateTime', line 1, position 587.",
"innerError": {
"date": "2020-06-30T22:15:16",
"request-id": "b9402c6b-297d-4190-a829-8297dae69d9d"
}
}
}
I have some problems when I use Microsoft Graph to track event changes with deltalink.
Here is my request:
GET /user/{id}/calendars/{id}/calendarView/delta?startDateTime=2018-01-01T00:00:00Z&endDateTime=2019-01-01T00:00:00Z
Prefer: odata.maxpagesize=1
I get a successful response the first time but when I follow the nextlink from the response I get 504 error:
{
"error": {
"code": "UnknownError",
"message": "",
"innerError": {
"request-id": "93ad3434-5de2-465d-9552-5a93d001939f",
"date": "2018-12-18T08:31:34"
}
}
}
https://graph.microsoft.com/v1.0/me/onenote/pages/{id}/content
is returning
{
"error": {
"code": "19999",
"message": "Something failed, the API cannot share any more information at the time of the request.",
"innerError": {
"request-id": "571dbc03-154a-4ece-aa7b-1fb05c8c31ce",
"date": "2017-07-11T22:49:01"
}
}
}
Sorry Namrata. Looks like we have a bug. Thanks for reporting. I will fix it and get back to you soon.