Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to update a meeting request using updateItem operation #131

Open
ankitchoudary opened this issue Oct 7, 2020 · 1 comment
Open

Comments

@ankitchoudary
Copy link

Hi ,

I am facing issue in updating a meeting invite using updateItem operation. I am getting following error response:
MessageText: 'The meeting request has already been sent and might not be updated.'
ResponseCode: 'ErrorSentMeetingRequestUpdate'

I am using latest version of node-ews. Has anyone faced this issue.

Please find below the payload of my request:
{
"attributes": {
"MessageDisposition": "SaveOnly",
"SendMeetingInvitationsOrCancellations": "SendToAllAndSaveCopy",
"ConflictResolution": "AlwaysOverwrite"
},
"ItemChanges": {
"ItemChange": {
"ItemId": {
"attributes": {
"Id": "AQAjAGRudmdsLnNjaGVkdWxpbmcuTkdQU1Rlc3RAZG52Z2wuY29tAEYAAAP+mayWq0ChQL8/ccOK6UJlBwBi1KyqxkOtTagtKPVYrKeIAAACAQkAAABi1KyqxkOtTagtKPVYrKeIAAIiNCfFAAAA",
"ChangeKey": "CwAAABYAAABi1KyqxkOtTagtKPVYrKeIAAIiHuxz"
}
},
"Updates": [
{
"SetItemField": {
"FieldURI": {
"attributes": {
"FieldURI": "item:Body"
}
},
"CalendarItem": {
"Body": "Moving to new Date"
}
}
},
{
"SetItemField": {
"FieldURI": {
"attributes": {
"FieldURI": "calendar:Start"
}
},
"CalendarItem": {
"Start": "2020-10-10T08:00:00Z"
}
}
},
{
"SetItemField": {
"FieldURI": {
"attributes": {
"FieldURI": "calendar:End"
}
},
"CalendarItem": {
"End": "2020-10-10T17:00:00Z"
}
}
}
]
}
}
}

@viictorh
Copy link

Hi, did you solve this issue?

I'm trying to update an e-mail and get the following response:

{"ResponseMessages":{"UpdateItemResponseMessage":{"attributes":{"ResponseClass":"Error"},"MessageText":"An internal server error occurred. The operation failed., Object reference not set to an instance of an object.","ResponseCode":"ErrorInternalServerError","DescriptiveLinkKey":0,"Items":null}}}

{ "attributes":{ "MessageDisposition":"SaveOnly", "ConflictResolution":"AlwaysOverwrite" }, "ItemChanges":{ "ItemChange":{ "ItemId":{ "attributes":{ "Id":"suppressed", "ChangeKey":"suppressed" } }, "Updates":{ "SetItemField":{ "FieldURI":{ "attributes":{ "FieldURI":"item:Sensitivity" }, "Message":{ "Sensitivity":"Confidencial" } } } } } } }

Anyone knows how to do that? I'm trying to mark a specific email as read, but I get the same error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants