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