Hello.

We have error "Token has been expired or revoked"

We don`t make any changes.

And in page https://myaccount.google.com/u/1/permissions our app 
Everystraus was self removed.

We don`t did that.

I read 
https://groups.google.com/u/1/g/adwords-api/c/PWuTWEBR98Q/m/FoDufLdgAwAJ
https://groups.google.com/u/1/g/adwords-api/c/O4ie7zrzh_I/m/iIYaXUTDAQAJ
https://developers.google.com/identity/protocols/oauth2#expiration

And this was not helpful.

Please help.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a03a6238-8a20-4703-a839-9ef8970d3b00n%40googlegroups.com.
[2021-04-13 16:11:22] local.INFO: array (
  'command' => 'GoogleGetKeywordsStatistics {user_id} {google_acc_id} 
{client_customer_id} {startDate} {endDate}',
  'user_id' => '1',
  'google_acc_id' => '12',
  'client_customer_id' => '522-368-2215',
)  
[2021-04-13 16:11:22] local.INFO: GuzzleHttp\Exception\ClientException: Client 
error: `POST https://oauth2.googleapis.com/token` resulted in a `400 Bad 
Request` response:
{
  "error": "invalid_grant",
  "error_description": "Token has been expired or revoked."
}
 in 
/var/www/everystraus.su/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113
Stack trace:
#0 /var/www/everystraus.su/vendor/guzzlehttp/guzzle/src/Middleware.php(69): 
GuzzleHttp\Exception\RequestException::create()
#1 /var/www/everystraus.su/vendor/guzzlehttp/promises/src/Promise.php(204): 
GuzzleHttp\Middleware::GuzzleHttp\{closure}()
#2 /var/www/everystraus.su/vendor/guzzlehttp/promises/src/Promise.php(153): 
GuzzleHttp\Promise\Promise::callHandler()
#3 /var/www/everystraus.su/vendor/guzzlehttp/promises/src/TaskQueue.php(48): 
GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}()
#4 /var/www/everystraus.su/vendor/guzzlehttp/promises/src/Promise.php(248): 
GuzzleHttp\Promise\TaskQueue->run()
#5 /var/www/everystraus.su/vendor/guzzlehttp/promises/src/Promise.php(224): 
GuzzleHttp\Promise\Promise->invokeWaitFn()
#6 /var/www/everystraus.su/vendor/guzzlehttp/promises/src/Promise.php(269): 
GuzzleHttp\Promise\Promise->waitIfPending()
#7 /var/www/everystraus.su/vendor/guzzlehttp/promises/src/Promise.php(226): 
GuzzleHttp\Promise\Promise->invokeWaitList()
#8 /var/www/everystraus.su/vendor/guzzlehttp/promises/src/Promise.php(62): 
GuzzleHttp\Promise\Promise->waitIfPending()
#9 /var/www/everystraus.su/vendor/guzzlehttp/guzzle/src/Client.php(123): 
GuzzleHttp\Promise\Promise->wait()
#10 
/var/www/everystraus.su/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsGuzzleProxyHttpHandler.php(63):
 GuzzleHttp\Client->send()
#11 /var/www/everystraus.su/vendor/google/auth/src/OAuth2.php(526): 
Google\AdsApi\Common\AdsGuzzleProxyHttpHandler->__invoke()
#12 
/var/www/everystraus.su/vendor/google/auth/src/Credentials/UserRefreshCredentials.php(110):
 Google\Auth\OAuth2->fetchAuthToken()
#13 
/var/www/everystraus.su/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/OAuth2TokenRefresher.php(66):
 Google\Auth\Credentials\UserRefreshCredentials->fetchAuthToken()
#14 
/var/www/everystraus.su/vendor/googleads/googleads-php-lib/src/Google/AdsApi/AdWords/Reporting/v201809/RequestOptionsFactory.php(86):
 Google\AdsApi\Common\Util\OAuth2TokenRefresher->getOrFetchAccessToken()
#15 
/var/www/everystraus.su/vendor/googleads/googleads-php-lib/src/Google/AdsApi/AdWords/Reporting/v201809/RequestOptionsFactory.php(186):
 Google\AdsApi\AdWords\Reporting\v201809\RequestOptionsFactory->createHeaders()
#16 
/var/www/everystraus.su/vendor/googleads/googleads-php-lib/src/Google/AdsApi/AdWords/Reporting/v201809/ReportDownloader.php(156):
 
Google\AdsApi\AdWords\Reporting\v201809\RequestOptionsFactory->createRequestOptionsWithAwqlQuery()
#17 
/var/www/everystraus.su/app/Console/Commands/Google/Statistics/GoogleGetKeywordsStatistics.php(103):
 
Google\AdsApi\AdWords\Reporting\v201809\ReportDownloader->downloadReportWithAwql()
#18 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36):
 App\Console\Commands\Google\Statistics\GoogleGetKeywordsStatistics->handle()
#19 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Container/Util.php(37):
 Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#20 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93):
 Illuminate\Container\Util::unwrapIfClosure()
#21 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37):
 Illuminate\Container\BoundMethod::callBoundMethod()
#22 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Container/Container.php(596):
 Illuminate\Container\BoundMethod::call()
#23 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Console/Command.php(134):
 Illuminate\Container\Container->call()
#24 /var/www/everystraus.su/vendor/symfony/console/Command/Command.php(256): 
Illuminate\Console\Command->execute()
#25 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Console/Command.php(121):
 Symfony\Component\Console\Command\Command->run()
#26 /var/www/everystraus.su/vendor/symfony/console/Application.php(971): 
Illuminate\Console\Command->run()
#27 /var/www/everystraus.su/vendor/symfony/console/Application.php(290): 
Symfony\Component\Console\Application->doRunCommand()
#28 /var/www/everystraus.su/vendor/symfony/console/Application.php(166): 
Symfony\Component\Console\Application->doRun()
#29 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Console/Application.php(93):
 Symfony\Component\Console\Application->run()
#30 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(129):
 Illuminate\Console\Application->run()
#31 /var/www/everystraus.su/artisan(37): 
Illuminate\Foundation\Console\Kernel->handle()
#32 {main}  
[2021-04-13 18:11:18] local.INFO: 
Google\AdsApi\AdWords\v201809\cm\ApiException: 
[AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:'<null>'] in 
/var/www/everystraus.su/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php:43
Stack trace:
#0 
/var/www/everystraus.su/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php(43):
 ReflectionClass->newInstanceArgs()
#1 
/var/www/everystraus.su/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php(203):
 Google\AdsApi\Common\Util\Reflection->createInstance()
#2 
/var/www/everystraus.su/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php(165):
 Google\AdsApi\Common\AdsSoapClient->parseApiExceptionFromSoapFault()
#3 
/var/www/everystraus.su/vendor/googleads/googleads-php-lib/src/Google/AdsApi/AdWords/v201809/mcm/CustomerService.php(95):
 Google\AdsApi\Common\AdsSoapClient->__soapCall()
#4 
/var/www/everystraus.su/app/Http/Controllers/Api/Google/GoogleAdsAccountsController.php(44):
 Google\AdsApi\AdWords\v201809\mcm\CustomerService->getCustomers()
#5 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54):
 
App\Http\Controllers\Api\Google\GoogleAdsAccountsController->addAccountGoogleAds()
#6 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45):
 Illuminate\Routing\Controller->callAction()
#7 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Routing/Route.php(239):
 Illuminate\Routing\ControllerDispatcher->dispatch()
#8 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Routing/Route.php(196):
 Illuminate\Routing\Route->runController()
#9 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Routing/Router.php(685):
 Illuminate\Routing\Route->run()
#10 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128):
 Illuminate\Routing\Router->Illuminate\Routing\{closure}()
#11 
/var/www/everystraus.su/app/Http/Middleware/CheckUserOrMarketerOrAdmin.php(22): 
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#12 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
 App\Http\Middleware\CheckUserOrMarketerOrAdmin->handle()
#13 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(41):
 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#14 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
 Illuminate\Routing\Middleware\SubstituteBindings->handle()
#15 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(59):
 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#16 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
 Illuminate\Routing\Middleware\ThrottleRequests->handle()
#17 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(44):
 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#18 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
 Illuminate\Auth\Middleware\Authenticate->handle()
#19 
/var/www/everystraus.su/vendor/laravel/sanctum/src/Http/Middleware/EnsureFrontendRequestsAreStateful.php(33):
 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#20 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128):
 
Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful->Laravel\Sanctum\Http\Middleware\{closure}()
#21 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78):
 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#22 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
 Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle()
#23 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(116):
 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#24 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(62):
 Illuminate\Session\Middleware\StartSession->handleStatefulRequest()
#25 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
 Illuminate\Session\Middleware\StartSession->handle()
#26 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37):
 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#27 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
 Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()
#28 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67):
 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#29 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
 Illuminate\Cookie\Middleware\EncryptCookies->handle()
#30 
/var/www/everystraus.su/vendor/laravel/sanctum/src/Http/Middleware/EnsureFrontendRequestsAreStateful.php(26):
 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#31 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149):
 
Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful->Laravel\Sanctum\Http\Middleware\{closure}()
#32 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103):
 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#33 
/var/www/everystraus.su/vendor/laravel/sanctum/src/Http/Middleware/EnsureFrontendRequestsAreStateful.php(34):
 Illuminate\Pipeline\Pipeline->then()
#34 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
 Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful->handle()
#35 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103):
 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#36 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Routing/Router.php(687):
 Illuminate\Pipeline\Pipeline->then()
#37 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Routing/Router.php(662):
 Illuminate\Routing\Router->runRouteWithinStack()
#38 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Routing/Router.php(628):
 Illuminate\Routing\Router->runRoute()
#39 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Routing/Router.php(617):
 Illuminate\Routing\Router->dispatchToRoute()
#40 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165):
 Illuminate\Routing\Router->dispatch()
#41 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128):
 Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()
#42 
/var/www/everystraus.su/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php(60):
 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#43 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
 Barryvdh\Debugbar\Middleware\InjectDebugbar->handle()
#44 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21):
 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#45 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
 Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
#46 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21):
 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#47 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
 Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
#48 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27):
 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#49 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
 Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle()
#50 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(63):
 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#51 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
 Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle()
#52 
/var/www/everystraus.su/vendor/fruitcake/laravel-cors/src/HandleCors.php(37): 
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#53 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
 Fruitcake\Cors\HandleCors->handle()
#54 /var/www/everystraus.su/vendor/fideloper/proxy/src/TrustProxies.php(57): 
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#55 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
 Fideloper\Proxy\TrustProxies->handle()
#56 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103):
 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#57 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(140):
 Illuminate\Pipeline\Pipeline->then()
#58 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(109):
 Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
#59 /var/www/everystraus.su/public/index.php(55): 
Illuminate\Foundation\Http\Kernel->handle()

Reply via email to