Creating Contact returns ResourceNotFound error - microsoft-graph-api

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?

Related

issue posting #microsoft.graph.exclusionGroupAssignmentTarget

attempting to add an exclusion group via the api in graph explorer.
https://graph.microsoft.com/beta/deviceManagement/deviceConfigurations/da91e7e4-47cf-490a-9b23-4cecacf69d93/assignments
request body
{
"#odata.type": "#microsoft.graph.exclusionGroupAssignmentTarget",
"groupId": "c16283f1-fb74-4e6c-9fc9-27b213b50512"
}
response preview
{
"error": {
"code": "ModelValidationFailure",
"message": "Incompatible type kinds were found. The type 'microsoft.management.services.api.exclusionGroupAssignmentTarget' was found to be of kind 'Complex' instead of the expected kind 'Entity'.",
"innerError": {
"message": "Incompatible type kinds were found. The type 'microsoft.management.services.api.exclusionGroupAssignmentTarget' was found to be of kind 'Complex' instead of the expected kind 'Entity'.",
"date": "2021-10-01T18:10:01",
"request-id": "96cff9fa-bafd-4f87-98e5-69ff814faa8d",
"client-request-id": "f8011c1f-1457-22ae-2e1e-e20842ccec11"
}
}
}

Suddenly graph API - returns 500 error for me/followedSites

The GET https://graph.microsoft.com/v1.0/me/followedSites is returning 500 Internal Server Error
Here are the error details:
{
"error": {
"code": "generalException",
"message": "General exception while processing",
"innerError": {
"date": "2021-06-21T15:32:56",
"request-id": "dc99093b-2426-4f66-a1b2-9a6f180c053c",
"client-request-id": "b43fcb98-3a23-2f5d-90de-f4c009b5c8dd"
}
}
}
You can reproduce this on Graph Explorer
It seems like this is an issue from the Microsoft side they have fixed it. More information is here

MS graph InvalidDeltaToken on events list next page

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.

Getting 500 error for https://graph.microsoft.com/beta/me/profile endpoint

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"
}
}
}

Unable to get page content for oneNote Graph API

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.

Resources