question

MirkoSarzo-4770 avatar image
0 Votes"
MirkoSarzo-4770 asked ·

Error opening an activity in outlook - event created via API

Good morning,

I encounter an anomaly when opening an activity created via microsoft graph API.

To create this activity I used the function made available by Microsoft's DLL.

GraphClient.Me.Events.Request.AddAsync (Event)

I noticed that through OWA I can open the activity and edit it without any problems.

Thanks to those who can help me.
70509-16556451.png



ITA: Problema durante l'apertura di questo elemento. Il problema può essere temporaneo, ma se persiste è possibile si debba riavviare Outlook.
ENG: Problem opening this item. The problem may be temporary, but if it persists you may have to restart Outlook.

the message is not meaningful. if you restart it doesn't change anything.

microsoft-graph-calendar
16556451.png (4.1 KiB)
· 6
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Just a reminder that for most messageboxes in Windows, you can simply hit Ctrl-C or Ctrl-Insert to copy the message as text and paste it here. This will allow helpers to have easier time "translate" your message to find out what the problem is.

Also as of current time, this forum have very limited support for non-English questions. So you'll have better chance to get someone try to resolve your problem by translating the error message in English yourself.

0 Votes 0 ·

Thanks!

ITA: Problema durante l'apertura di questo elemento. Il problema può essere temporaneo, ma se persiste è possibile si debba riavviare Outlook.
ENG: Problem opening this item. The problem may be temporary, but if it persists you may have to restart Outlook.

the message is not meaningful. if you restart it doesn't change anything.

0 Votes 0 ·
cheong00 avatar image cheong00 MirkoSarzo-4770 ·

Can you capture the error response returned by the function call?

It's usually in form of the following, and should give you better detail on what's the reason for failing.

 {
   "error": {
     "code": "invalidRange",
     "message": "Uploaded fragment overlaps with existing data.",
     "innerError": {
       "requestId": "request-id",
       "date": "date-time"
     }
   }
 }



0 Votes 0 ·
Show more comments

1 Answer

Deva-MSFT avatar image
0 Votes"
Deva-MSFT answered ·
  • Just to isolate the issue you can try make the call in POSTMAN/Microsoft Graph explorer and see if you can repro the issue or not.

  • Also you need to check whether you can able to open the mailbox in Outlook UI or OWA without any problem as well

  • If you can repro the issue then share the Graph response that you receive (requestid, timestamp, error info).

· 2 · Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks for the support, I found my error.
I sent ReminderMinutesBeforeStart = -1 to the API.
API accepted value, OWA showed event but outlook desktop version didn't work.

1 Vote 1 ·
Deva-MSFT avatar image Deva-MSFT MirkoSarzo-4770 ·

Wonderful to hear. Glad that the above helped.

0 Votes 0 ·