JWT Error
See original GitHub issueHello,
I am currently getting the error:
{ [Error: Not Found] code: 404 errors: [ { domain: ‘global’, reason: ‘notFound’, message: ‘Not Found’ } ] }
When trying to use the calendar api using JWT. I am struggling to find this error message and how to debug this online. Please help! My code is the following:
jwtClient.authorize(function(err, tokens) {
if (err) {
console.log(err);
return;
}
// Make an authorized request to list Drive files.
calendar.events.list({
auth: jwtClient,
calendarId: calendarId,
timeMin: (new Date()).toISOString(),
maxResults: 100,
singleEvents: true,
orderBy: 'startTime'
}, function(err, resp) {
// handle err and response
console.log("===============")
console.log(err)
console.log(resp)
});
});
The call works when i authorize via auth.OAuth2…
Issue Analytics
- State:
- Created 8 years ago
- Comments:16 (1 by maintainers)
Top Results From Across the Web
Decode JWT runtime error troubleshooting | Apigee Edge
This error occurs if the JSON Web Token (JWT) specified in the <Source> element of the Decode JWT policy is malformed, invalid or...
Read more >Decode JWT runtime error troubleshooting | Apigee X
This error occurs if the JSON Web Token (JWT) specified in the <Source> element of the Decode JWT policy is malformed, invalid or...
Read more >JWT (JSON Web Tokens) Errors | Invalid JWT Signature
This post reviews JWT errors and specifically how to resolve the invalid_grant:Invalid JWT Signature error. For Invalid JWT Signature, check if ...
Read more >JWT Errors | Documentation - Web3Auth
JWT Errors · Invalid JWT Verifiers ID field. · Failed to verify JWS signature. · Duplicate token · Expired token · Mismatch JWT...
Read more >Key Based Authentication Failed with "JWT token is invalid ...
This article explains what factors might cause key based authentication to fail with error "JWT token is invalid" and how to avoid it....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am trying to fetch all emails under our domain. I have all admin rights anda I created service account with Domain wide delegation. This is my code:
and I still get error
The ‘domain not found’ error can also happen if you do not select a user to impersonate for the service account call.