elixir-google-api icon indicating copy to clipboard operation
elixir-google-api copied to clipboard

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

Open lollar opened this issue 4 years ago • 4 comments

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

  • Programming language: Elixir
  • OS: MacOS Big Sur 11.5.2
  • Language runtime version: elixir 1.12.1-otp-24 & erlang 24.0.2
  • Package version: :google_api_calendar, "0.21.5"

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 avatar Sep 13 '21 22:09 lollar

Any updates on this?

lollar avatar Oct 28 '21 05:10 lollar

I am hitting this as well. Any fix?

jsmestad avatar Jun 18 '22 19:06 jsmestad

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

lollar avatar Jun 22 '22 22:06 lollar

Same

jsmestad avatar Jun 26 '22 16:06 jsmestad