Hi Stephen,
The "401 Unauthorized" error means that the email address that you used in
generating the OAuth2 credentials is not a valid user in your account, or
it could be that there is something wrong in the generation of your OAuth2
credentials itself (e.g. your refresh token is not matched
I am getting this erro: Uncaught GuzzleHttp\Exception\ClientException:
Client error: `POST https://www.googleapis.com/oauth2/v4/token` resulted in
a `401 Unauthorized` response. I have checked clientID, ClientSecret, and
RefreshToken and they are all correct.
I'm wondering if this has to
Hi,
This error normally occurs when the clientId/secret is different from the
ones used when you generated the refresh token. Could you please send to me
the logs that shows this error when making the api call? Please use *reply
privately to author *when replying.
Thanks,
Joyce, AdWords API
Hi,
My account is base account and I created Client ID, Client Secret.
I also created refresh_token.
But when I try to call api, it returns me unauthorized_client error.
curl \
- -d
client_id=0015-nnot.apps.googleusercontent.com
\
- -d client_secret