https //graph.microsoft.com/v1.0/me/events randomly sending 400 error

Kishore Mouli 0 Reputation points
2024-07-04T14:18:55.8033333+00:00

Hi ,

I am able to create events using Graph API with https //graph.microsoft.com/v1.0/me/events endpoint.

However , some times it's returning 400 error.

Thanks,

Novel

Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,335 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Dillon Silzer 57,431 Reputation points
    2024-07-04T17:47:38.23+00:00

    Hi Koshore,

    The 400 error means that you have a bad structure in what you are sending. Ensure that you are sending the require structure of JSON to the API endpoint.

    It is very important to send consistent structure.

    See examples:

    Create event (Examples)

    https://learn.microsoft.com/en-us/graph/api/user-post-events?view=graph-rest-1.0&tabs=http#examples


    If this is helpful please accept as answer or upvote.

    Best regards,

    Dillon Silzer, Director | Cloudaen.com | Cloudaen Computing Solutions


Your answer

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