title: Create/insert event (Google Calendar API v3) via HTTP Post > "400: Missing end time"
body: <p>I am using FileMaker to interact with the Google Calendar API. I have managed to authorize my app, get a list of user's calendars and a list of events in those calendars and details for those events. However, I am having trouble creating events. </p>
  
  <p>I make the following HTTP POST request. Header: Content-Type : application/json, Authorization : Bearer access_token</p>
  
  <p><a href="https://www.googleapis.com/calendar/v3/calendars/" rel="nofollow noreferrer">https://www.googleapis.com/calendar/v3/calendars/</a>**********@gmail.com/events?{"attachments":[{"fileUrl":""}],"attendees":[{"email":"***********@gmail.com"}],"end":{"dateTime":"2017-08-20T13:00:00-05:00"},"reminders":{"useDefault":true},"start":{"dateTime":"2017-08-20T12:00:00-05:00"},"summary":"Test Event"}</p>
  
  <p>I receive the following JSON error response: </p>
  
  <pre><code>{
      "error": 
      {
          "errors": 
              [
                  {
                      "domain": "global",
                      "reason": "required",
                      "message": "Missing end time."
                  }
              ],
          "code": 400,
          "message": "Missing end time."
      }
  }
  </code></pre>
  
  <p>It appears that this is a pretty common error that people run into. However it looks like most having this problem are using frameworks for which there are libraries that Google Calendar API supports. I've tried to pick out the fix from some of the posts on stackoverflow and elsewhere concerning these other frameworks and apply them to my FileMaker / HTTP GET/POST setup to no avail. </p>
  
  <p>Any help greatly appreciated!</p>