-
Notifications
You must be signed in to change notification settings - Fork 54
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
Unable to deploy the gmail plugin to my Google Apps Scripts #34
Comments
The way I solved this was by entering the gmail folder, deleting I would be interested what solutions other users have found? |
@wrych |
Do a After doing so, you may install it for your self by going to the code tab > deploy > test deployments. At that point, you will run into #33. I have a working fork, but please be aware that there are not warranties whatsoever that we will maintain this fork. I am open to accept contributions, though. |
The Objective:
To enable odoo gmail plugin for my on-prem odoo installtion.
The Problem:
Following this after modifying the login.ts as suggested here
So, when I try to enable gmail plugin by
clasp apis enable gmail
I get the following error:
response: { config: { url: 'https://serviceusage.googleapis.com/v1/projects/odoo-gmail-304313/services/gmail.googleapis.com:enable', method: 'POST', userAgentDirectives: [Array], paramsSerializer: [Function (anonymous)], headers: [Object], params: {}, validateStatus: [Function (anonymous)], retry: true, responseType: 'json', retryConfig: [Object] }, data: { error: [Object] }, headers: { 'alt-svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000', 'cache-control': 'private', connection: 'close', 'content-encoding': 'gzip', 'content-type': 'application/json; charset=UTF-8', date: 'Fri, 10 Mar 2023 11:04:49 GMT', server: 'ESF', 'transfer-encoding': 'chunked', vary: 'Origin, X-Origin, Referer', 'x-content-type-options': 'nosniff', 'x-frame-options': 'SAMEORIGIN', 'x-xss-protection': '0' }, status: 403, statusText: 'Forbidden', request: { responseURL: 'https://serviceusage.googleapis.com/v1/projects/odoo-gmail-304313/services/gmail.googleapis.com:enable' } }, config: { url: 'https://serviceusage.googleapis.com/v1/projects/odoo-gmail-304313/services/gmail.googleapis.com:enable', method: 'POST', userAgentDirectives: [ [Object] ], paramsSerializer: [Function (anonymous)], headers: { 'x-goog-api-client': 'gdcl/5.1.0 gl-node/14.21.3 auth/7.14.1', 'Accept-Encoding': 'gzip', 'User-Agent': 'google-api-nodejs-client/5.1.0 (gzip)', Authorization: 'Bearer REDACTED', Accept: 'application/json' }, params: {}, validateStatus: [Function (anonymous)], retry: true, responseType: 'json', retryConfig: { currentRetryAttempt: 0, retry: 3, httpMethodsToRetry: [Array], noResponseRetries: 2, statusCodesToRetry: [Array] } }, code: 403, errors: [ { message: 'Permission denied to enable service [gmail.googleapis.com]\n' + 'Help Token: REDACTED', domain: 'global', reason: 'forbidden' } ] } API gmail doesn't exist. Try 'clasp apis enable sheets'.
I have enabled Google Apps Script for my Gsuite Account.
The text was updated successfully, but these errors were encountered: