I get an oauth2 access token using the following scopes from the user.
scope: ["https://www.googleapis.com/auth/youtube"]
Then i proceed to use this token for calls to the youtube v3 api. These calls work at first but then I start getting this response/error.
{ errors: [
{
domain: 'global',
reason: 'authError',
message: 'Invalid Credentials',
locationType: 'header',
location: 'Authorization'
}],
code: 401,
message: 'Invalid Credentials'
}
Is anyone else experiencing this intermitten errors? Is there a way to debug the oauth token like facebook tool? Token seems to expire in 1 hour. Get refresh token google api
example url
https://www.googleapis.com/youtube/v3/channels/?part=id,snippet,contentDetails,statistics,topicDetails&mine=true&access_token={access_token}