I get the following error
TypeError
Google\ApiCore\Middleware\RetryMiddleware::Google\ApiCore\Middleware\{closure}():
Argument #1 ($e) must be of type Exception, Error given, called in
/var/www/html/netpost/vendor/google/gax/src/Middleware/RetryMiddleware.php
on line 109
when I run this code
it is running fine on my local, but when I run it on server it got the
above error,
Local php version is 8.1.13
Server Version php is 8.1.26
any help would be appriciated
try {
$response = $keywordPlanIdeaServiceClient->generateKeywordForecastMetrics(
$generateKeywordForecastMetricsRequest
);
} catch (ApiException $e) {
\Log::info($e->getMessage());
}
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/2ab48d16-29cc-4d76-83e1-23cc968c7d45n%40googlegroups.com.