googleapis / elixir-google-api

Elixir client libraries for accessing Google APIs.
https://hex.pm/users/google-cloud
Apache License 2.0
1.02k stars 459 forks source link

Google Calendar events `calendar_events_watch` method doesn't match documentation #8451

Open lollar opened 3 years ago

lollar commented 3 years ago

Thanks for stopping by to let us know something could be better!

PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.

Is this a client library issue or a product issue? We will only be able to assist with issues that pertain to the behaviors of this library. If the issue you're experiencing is due to the behavior of the product itself, please visit the Support page to reach the most relevant engineers.

If the support paths suggested above still do not result in a resolution, please provide the following details.

Environment details

Steps to reproduce

  1. token = "your-token-here"
  2. connection = GoogleApi.Calendar.V3.Connection.new(token)
  3. {:ok, events} = GoogleApi.Calendar.V3.Api.Events.calendar_events_list(connection, "primary") # Verify token is working
  4. GoogleApi.Calendar.V3.Api.Events.calendar_events_watch(connection, "primary") # Results in an error, follows hexdocs
  5. GoogleApi.Calendar.V3.Api.Events.calendar_events_watch(connection, "primary", [id: "unique-uuid-for-this", type: "webhook", address: "https://tiempozone.herokuapp.com/webhook/address"]) # Results in an error, follows Google Documentation

Making sure to follow these steps will guarantee the quickest resolution possible.

Thanks!

lollar commented 3 years ago

Any updates on this?

jsmestad commented 2 years ago

I am hitting this as well. Any fix?

lollar commented 2 years ago

@jsmestad not that I've seen, I just wrote an HTTP request without the wrapper.

jsmestad commented 2 years ago

Same