Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GoogleApi.Gmail.V1.Api.Users.gmail_users_watch complains on undefined topic #6629

Open
Preen opened this issue Oct 29, 2020 · 1 comment
Open
Labels
type: docs Improvement to the documentation for an API.

Comments

@Preen
Copy link

Preen commented Oct 29, 2020

I dont see any variable where I set the topic in this action,

GoogleApi.Gmail.V1.Api.Users.gmail_users_watch()

def gmail_users_watch(connection, user_id, optional_params \\ [], opts \\ []) do

body: "{\n  \"error\": {\n    \"code\": 400,\n    \"message\": \"topicName required\",\n    \"errors\": [\n      {\n        \"message\": \"topicName required\",\n        \"domain\": \"global\",\n        \"reason\": \"invalidArgument\"\n      }\n    ],\n    \"status\": \"INVALID_ARGUMENT\"\n  }\n}\n", ```
@Preen Preen changed the title GoogleApi.Gmail.V1.Api.Users.gmail_users_watch complains on defined topic GoogleApi.Gmail.V1.Api.Users.gmail_users_watch complains on undefined topic Oct 29, 2020
@Preen
Copy link
Author

Preen commented Oct 29, 2020

Found it.

GoogleApi.Gmail.V1.Api.Users.gmail_users_watch(connection, "[email protected]", [body: %{topicName: "your-topic-name"}])

Tell me if you want help with the readme for the Gmail Library.

@yoshi-automation yoshi-automation added triage me I really want to be triaged. 🚨 This issue needs some love. labels Oct 30, 2020
@dazuma dazuma added type: docs Improvement to the documentation for an API. and removed 🚨 This issue needs some love. triage me I really want to be triaged. labels Nov 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: docs Improvement to the documentation for an API.
Projects
None yet
Development

No branches or pull requests

3 participants