Unable to deploy the gmail plugin to my Google Apps Scripts
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- typescript
Research direction
Start with gmail/README.md and the referenced login.ts change, then reproduce the clasp apis enable gmail command and inspect the reported 403 response. Compare the documented on-premise setup with the Google Apps Script project permissions; done means the deployment path is resolved or the required limitation and setup steps are documented.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- TypeScript
- Stars
- 42
- Forks
- 80
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from odoo/mail-client-extensions
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
odoo/mail-client-extensions#40 · 3 comments ·
-
Odoo GMAIL extensionOpen
Difficulty 4/5 3-5 days Newbie friendliness 20/100
All issues in odoo/mail-client-extensions
Similar issues
-
awaiting-final-review request-icon
Difficulty 1/5 Under an hour Newbie friendliness 70/100
homebridge/plugins#1376 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
mindfold-ai/Trellis#672 ·
-
p1 state:active track
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
StellarCanary/ProtocolCanary-Action#698 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
pear-devs/pear-desktop#4839 ·
Maintainers usually reply within 1 day