Comments (21)
I still get the issue above
error": {
"code": 401,
"message": "Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.",
"errors": [
{
"message": "Login Required.",
"domain": "global",
"reason": "required",
"location": "Authorization",
"locationType": "header"
}
],
"status": "UNAUTHENTICATED",
"details": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "CREDENTIALS_MISSING",
"domain": "googleapis.com",
"metadata": {
"method": "caribou.api.proto.MailboxService.GetMessage",
"service": "gmail.googleapis.com"
}
}
]
}
from gmail-tester.
@hieuTranEnouvo For me, it works all good. Have you placed credentials.json correctly in the path you are pointing?
I tried gmail-tester v1.3.8 , yes it does not ask to enter code now but this is more better. You don't need to enter code now, it automatically gets authenticated!
from gmail-tester.
@azadnsu I am facing the same issue as above. In my case it is giving me the following error:
FetchError: request to https://gmail.googleapis.com/gmail/v1/users/me/messages/181dc6b25056f876?format=full failed, reason: connect ETIMEDOUT 216.58.209.138:443
Do you have any idea about this? Any help would be appreciated.
from gmail-tester.
@azadnsu The issue still display. It doesn't enter code automatically
from gmail-tester.
@hieuTranEnouvo See your account is actually set up successfully, otherwise, it won't go for email search.
Now, regarding the error, your Gmail account might have a quota per minute set to 0. Please try to increase it.
Here are some resources about how to do it:
https://stackoverflow.com/questions/66785834/quota-exceeded-for-quota-metric-requests-and-limit-requests-per-minute-of-se
Please check what its Request per minute in Quotas in your project Admin in Google cloud something like here: https://console.cloud.google.com/iam-admin/quotas
from gmail-tester.
@azadnsu Thank you for replying
I can't find a quota per minute set to increase it.
from gmail-tester.
@hieuTranEnouvo Go to the next pages, Request per minute is there.
from gmail-tester.
@hieuTranEnouvo You can increase quotas from there Or follow this solution posted in another thread: #78
from gmail-tester.
@azadnsu here what I found
But I still don't know what the issue is
from gmail-tester.
@hieuTranEnouvo I have no idea as well, your account got connected. Its Gmail API blocking requests which you need to figure out!
from gmail-tester.
OK thank @azadnsu
from gmail-tester.
@hieuTranEnouvo Could you please try with a fresh Gmail account from the scratch. Just to give a try!
from gmail-tester.
@azadnsu let me check now
from gmail-tester.
@azadnsu I used another account but still get the issue
from gmail-tester.
I am sure you need to do this: https://developers.google.com/gmail/api/guides/handle-errors#:~:text=An%20error%20403%20occurs%20when,The%20daily%20limit%20was%20exceeded. @hieuTranEnouvo
from gmail-tester.
View or change usage limits, increase quota
To view or change usage limits for your project, or to request an increase to your quota, do the following:
1/If you don't already have a billing account for your project, then create one.
2/Visit the Enabled APIs page of the API library in the API Console, and select an API from the list.
3/To view and change quota-related settings, select Quotas. To view usage statistics, select Usage.
==> I don't know how to "To view usage statistics, select Usage"
pls help me that @azadnsu
from gmail-tester.
There should be no quota problem in a normal gmail account. Looks like somehow your account is connected to business account!
from gmail-tester.
@azadnsu I have 3 accounts which are connected to business account?
It is same the error for 3 accs
from gmail-tester.
If your mailbox contains 1000s of emails, I guess you just need to limit the result set by using some filtering options like after
.
from gmail-tester.
Did anyone solve or update this for the OOB deprecation?
Error 400: invalid_request
The out-of-band (OOB) flow has been blocked in order to keep users secure. Follow the Out-of-Band (OOB) flow migration guide linked in the developer docs below to migrate your app to an alternative method.
Request details: redirect_uri=urn:ietf:wg:oauth:2.0:oob
Our cypress tests just started failing, and I suspect it is due the the token expiring and we can't generate a new one due to this being deprecated by google
https://developers.google.com/identity/protocols/oauth2/resources/oob-migration
from gmail-tester.
Solution @ #126
from gmail-tester.
Related Issues (20)
- Cannot destructure property 'HTTP2_HEADER_CONTENT_ENCODING' of 'http2.constants' as it is undefined. HOT 1
- How to use gmail-tester with latest cypress version (Cypress 10)? HOT 1
- I'm receiving an error on set 'include_body: true' HOT 1
- Label not a typed parameter for check_message HOT 2
- Activation Page redirects to Localhost, Terminal Not Accepting Code HOT 1
- Incomplete documentation HOT 2
- error while executing the command "node node_modules/gmail-tester/init.js credentials.json token.json [email protected]" HOT 5
- version in npm is 1.3.8, while here it's 1.3.4
- check_inbox - Cannot destructure property 'HTTP2_HEADER_CONTENT_ENCODING' of 'http2.constants' as it is undefined. e HOT 2
- socket hang up issue
- readme links to a deprecated adwords page HOT 1
- Add credentials and token in cypress.config.js into cypress.env file
- It's not possible to paste verification code during refresh token in 1.3.8 HOT 3
- The API returned an error: Error: Invalid Credentials HOT 1
- Unable to get new credentials, does this still work?
- get_messages returns empty array of emails
- cheerio.load() expects a string node_modules/cheerio/lib/load.js:74:1 #3475 HOT 2
- Creds expiring after ~1wk - is that normal? HOT 1
- I am not getting credential.json file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gmail-tester.