The property 'Value' was not found for 'ServiceObject' item - Microsoft Graph API
I am facing an issue while retrieving page-wise contact details based on the Outlook user account using a Microsoft Graph API call. This issue occurs randomly on any page from the user's mail account. Below are more details about the error, .NET version, and code for reference. Can anyone suggest the root cause and how to fix this issue?
.Net Framework version: 4.7.2
Microsoft Graph version: 4.25.0
Microsoft.Graph.Core version: 2.0.8
Error Details:
Error Code : ErrorInvalidRequest
Error Message: The property 'Value' was not found for 'ServiceObject' item.
ClientRequestId: 3fe462b6-94af-42b5-af2a-fddd2c277c74
Detailed information : {"Models":[],"TotalModels":0,"DefaultContactsToken":null,"Status":"Exception","Message":"Code: ErrorInvalidRequest\r\nMessage: The property 'Value' was not found for 'ServiceObject' item.\r\nClientRequestId: 3fe462b6-94af-42b5-af2a-fddd2c277c74\r\n"}
Code Reference
string expandProperties = singleValueExtendedProperties($filter= (id eq 'String {00062004-0000-0000-C000-000000000046} Id 0x8094') or (id eq 'String {00062004-0000-0000-C000-000000000046} Id 0x8092') or (id eq 'Binary {00062004-0000-0000-C000-000000000046} Id 0x8095') or (id eq 'String {00062004-0000-0000-C000-000000000046} Id 0x8090') or (id eq 'String {00062004-0000-0000-C000-000000000046} Id 0x80A4') or (id eq 'String {00062004-0000-0000-C000-000000000046} Id 0x80A2') or (id eq 'Binary {00062004-0000-0000-C000-000000000046} Id 0x80A5') or (id eq 'String {00062004-0000-0000-C000-000000000046} Id 0x80A0') or (id eq 'Integer {00062004-0000-0000-C000-000000000046} Id 0x8006') or (id eq 'String {00062004-0000-0000-C000-000000000046} Name PidLidFax1AddressType') or (id eq 'String {00062004-0000-0000-C000-000000000046} Name PidLidFax1EmailAddress') or (id eq 'String {00062004-0000-0000-C000-000000000046} Name PidLidFax1DisplayName') or (id eq 'Binary {00062004-0000-0000-C000-000000000046} Name PidLidFax1OriginalEntryId') or (id eq 'String {00062004-0000-0000-C000-000000000046} Id 0x80C2') or (id eq 'String {00062004-0000-0000-C000-000000000046} Id 0x80C3') or (id eq 'String {00062004-0000-0000-C000-000000000046} Id 0x80C4') or (id eq 'Binary {00062004-0000-0000-C000-000000000046} Id 0x80C5') or (id eq 'String {00062004-0000-0000-C000-000000000046} Id 0x802B') or (id eq 'Binary {00062004-0000-0000-C000-000000000046} Id 0x85BD') or (id eq 'Integer {00062004-0000-0000-C000-000000000046} Name PidLidPostalAddressId') )
var pageResults = await GraphServiceClient.Users[graphUserId].Contacts.Request().Skip(55).Top(50).Expand(expandProperties).GetAsync();
return pageResults.ToList();