Share via

MS Graph Calendar invitations

Denys Kovalenko 1 Reputation point
2021-02-03T10:23:22.99+00:00

Description: I am using an MS Graph for creating calendar invites through API. I`ve begun to get a lot of errors while request. There are an empty body and status_code: 503. Can you please help me?

Community Center | Not monitored

2 answers

Sort by: Most helpful
  1. Deva-MSFT 2,276 Reputation points Microsoft Employee Moderator
    2021-02-05T19:23:22.87+00:00

    Thanks for the update and sharing related info.

    (1) As i updated earlier, when you notice the issue, then try the same API call in Microsoft Graph Explorer or POSTMAN to see still you can repro the issue or not.
    (2) In case if you're trying to create good amount of calendar invites using the API, then try to see if you can make them in smaller blocks and see if it helps.

    Was this answer helpful?

    0 comments No comments

  2. Denys Kovalenko 1 Reputation point
    2021-02-05T09:26:16.133+00:00

    @Deva-MSFT
    This problem appears sometimes. Maybe 2 times per day.
    There is an example of a response headers and body:

    {body: "", headers: [{"Cache-Control", "private"}, {"Content-Type", "text/plain"}, {"request-id", "c71b126c-8f13-4303-b93a-dd323d5522dc"}, {"client-request-id", "c71b126c-8f13-4303-b93a-dd323d5522dc"}, {"x-ms-ags-diagnostic", "{\"ServerInfo\":{\"DataCenter\":\"North Europe\",\"Slice\":\"SliceC\",\"Ring\":\"4\",\"ScaleUnit\":\"002\",\"RoleInstance\":\"AGSFE_IN_91\"}}"}, {"Strict-Transport-Security", "max-age=31536000"}, {"Date", "Thu, 04 Feb 2021 10:00:45 GMT"}, {"Content-Length", "0"}], method: :post, options: [timeout: 60000, recv_timeout: 60000], params: %{}, url: "https://graph.microsoft.com/v1.0/me/events"}, request_url: "https://graph.microsoft.com/v1.0/me/events", status_code: 503}}

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.