google-api

Creating events using the Google Calendar API and Service Account

こ雲淡風輕ζ 提交于 2020-08-10 22:48:52
问题 So I have setup my service account with domain wide delegation as described in this post Perform G Suite Domain-Wide Delegation of Authorit. In G Suite Admin Console I have authorized the service account to use the OAuth 2.0 scope: https://www.googleapis.com/auth/calendar. Every time I try to create an event I end up with this error GoogleJsonResponseException: 403 Forbidden { "code" : 403, "errors" : [ { "domain" : "calendar", "message" : "Service accounts cannot invite attendees without

Method: people.get() does not return names

跟風遠走 提交于 2020-08-10 20:26:12
问题 I have a question regarding API: GET https://people.googleapis.com/v1/{resourceName=people/*} When the resourceName = people/account_id and the personFields is 'names' the API returns names only when the account_id has a Google+ account associated with it. For the account_id without associate Google+ account, no names are returned. My application scopes are: https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/contacts https://www.googleapis.com/auth/plus.login Is

Method: people.get() does not return names

痞子三分冷 提交于 2020-08-10 20:24:37
问题 I have a question regarding API: GET https://people.googleapis.com/v1/{resourceName=people/*} When the resourceName = people/account_id and the personFields is 'names' the API returns names only when the account_id has a Google+ account associated with it. For the account_id without associate Google+ account, no names are returned. My application scopes are: https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/contacts https://www.googleapis.com/auth/plus.login Is

Google Drive access/authorization only works with direct/debug build

佐手、 提交于 2020-08-10 18:54:56
问题 I've been trying for a while to diagnose an authorization issue with OAuth 2.0, client ids, and Google APIs access (specifically Google Drive). The general problem has been that things only work when building and running directly via USB on my device. I won't go into detail about the actual code — since I've done that elsewhere here — so I can focus on the current thing that will (hopefully) indicate to someone smarter than me what the problem is. Originally I had an issue with not being able

Access Youtube data API through Flutter app with OAuth2

白昼怎懂夜的黑 提交于 2020-08-10 18:49:51
问题 My Flutter app is using Firebase for Google Auth and Database and it needs to communicate with the Youtube Data Api v.3, in order to upload videos on the user's behalf. The libraries that seemed most functional are googleapis: ^0.55.0 and googleapis_auth: ^0.2.12 , but there's a problem with the redirect url, in that they don't support it. Implementing the code as in the [provided example][1](installed/console app) results in the following error in the console after clicking on Allow in the

Google Calendar API error - “API key not valid. Please pass a valid API key.”,

℡╲_俬逩灬. 提交于 2020-08-10 05:49:15
问题 I've started getting the error from google rest api since yesterday { "error": { "code": 400, "message": "API key not valid. Please pass a valid API key.", "errors": [ { "message": "API key not valid. Please pass a valid API key.", "domain": "global", "reason": "badRequest" } ], "status": "INVALID_ARGUMENT" } } API endpoint is: https://www.googleapis.com/calendar/v3/calendars/[CALENDAR_ID]/events?timeMax=2020-06-22T23%3A59%3A59.000%2B06%3A00&timeMin=2020-06-22T00%3A00%3A00.000%2B06%3A00&key=

Google Calendar API error - “API key not valid. Please pass a valid API key.”,

痴心易碎 提交于 2020-08-10 05:48:11
问题 I've started getting the error from google rest api since yesterday { "error": { "code": 400, "message": "API key not valid. Please pass a valid API key.", "errors": [ { "message": "API key not valid. Please pass a valid API key.", "domain": "global", "reason": "badRequest" } ], "status": "INVALID_ARGUMENT" } } API endpoint is: https://www.googleapis.com/calendar/v3/calendars/[CALENDAR_ID]/events?timeMax=2020-06-22T23%3A59%3A59.000%2B06%3A00&timeMin=2020-06-22T00%3A00%3A00.000%2B06%3A00&key=

Can WebhookResponse send a Basic Card?

守給你的承諾、 提交于 2020-08-09 19:32:46
问题 I'm developing an action and I want to return a basic card with information from a fullfilment webhook. I can return plain text with no problem, using WebhookResponse class for preparing the data before sending it. I did also create the basic card using BasicCard class. I noticed the response the WebhookResponse creates is diferent from the example responses available on google documentation. I was wandering if there's a new version I missed? Or if this isn't at all possible using this class?

Can WebhookResponse send a Basic Card?

社会主义新天地 提交于 2020-08-09 19:32:17
问题 I'm developing an action and I want to return a basic card with information from a fullfilment webhook. I can return plain text with no problem, using WebhookResponse class for preparing the data before sending it. I did also create the basic card using BasicCard class. I noticed the response the WebhookResponse creates is diferent from the example responses available on google documentation. I was wandering if there's a new version I missed? Or if this isn't at all possible using this class?

BigQuery Python 409 Already Exists: Table

不打扰是莪最后的温柔 提交于 2020-07-31 04:06:27
问题 I'm coding a python script that writes query results to a BQ table . After the first time running the script, it always errors out after that with the following error: google.api_core.exceptions.Conflict: 409 Already Exists: Table project-id.dataset-id . I do not understand why it is attempting to create a table everytime I run the script. Do I have specify any specific parameters? This is from the documentation from google. I'm using this as an example and under the idea that a current table