Google\Service\Exception {#8152
#message: """
{\n
"error": {\n
"code": 400,\n
"message": "Request contains an invalid argument.",\n
"errors": [\n
{\n
"message": "Request contains an invalid argument.",\n
"domain": "global",\n
"reason": "badRequest"\n
}\n
],\n
"status": "INVALID_ARGUMENT"\n
}\n
}\n
"""
#code: 400
#file: "/home/frischeis/www/vendor/google/apiclient/src/Http/REST.php"
#line: 134
#errors: array:1 [
0 => array:3 [
"message" => "Request contains an invalid argument."
"domain" => "global"
"reason" => "badRequest"
]
]
trace: {
/home/frischeis/www/vendor/google/apiclient/src/Http/REST.php:134 {
Google\Http\REST::decodeHttpResponse(ResponseInterface $response, ?RequestInterface $request = null, $expectedClass = null) …
› // Check if we received errors, and add those to the Exception for convenience
› throw new GoogleServiceException($body, $code, null, self::getResponseErrors($body));
› }
}
/home/frischeis/www/vendor/google/apiclient/src/Http/REST.php:107 {
Google\Http\REST::doExecute(ClientInterface $client, RequestInterface $request, $expectedClass = null) …
›
› return self::decodeHttpResponse($response, $request, $expectedClass);
› }
arguments: {
$response: GuzzleHttp\Psr7\Response {#8154 …}
$request: GuzzleHttp\Psr7\Request {#8122 …}
$expectedClass: "Google\Service\CustomSearchAPI\Search"
}
}
Google\Http\REST::doExecute() {}
/home/frischeis/www/vendor/google/apiclient/src/Task/Runner.php:187 {
Google\Task\Runner->run() …
› try {
› return call_user_func_array($this->action, $this->arguments);
› } catch (GoogleServiceException $exception) {
arguments: {
$callback: array:2 [ …2]
$args: array:3 [ …3]
}
}
/home/frischeis/www/vendor/google/apiclient/src/Http/REST.php:66 {
Google\Http\REST::execute(ClientInterface $client, RequestInterface $request, $expectedClass = null, $config = [], $retryMap = null) …
›
› return $runner->run();
› }
}
/home/frischeis/www/vendor/google/apiclient/src/Client.php:926 {
Google\Client->execute(RequestInterface $request, $expectedClass = null) …
› $this->config['retry'],
› $this->config['retry_map']
› );
arguments: {
$client: GuzzleHttp\Client {#8138 …}
$request: GuzzleHttp\Psr7\Request {#8122 …}
$expectedClass: "Google\Service\CustomSearchAPI\Search"
$config: []
$retryMap: null
}
}
/home/frischeis/www/vendor/google/apiclient/src/Service/Resource.php:238 {
Google\Service\Resource->call($name, $arguments, $expectedClass = null) …
›
› return $this->client->execute($request, $expectedClass);
› }
arguments: {
$request: GuzzleHttp\Psr7\Request {#8122 …}
$expectedClass: "Google\Service\CustomSearchAPI\Search"
}
}
/home/frischeis/www/vendor/google/apiclient-services/src/CustomSearchAPI/Resource/Cse.php:174 {
Google\Service\CustomSearchAPI\Resource\Cse->listCse($optParams = []) …
› $params = array_merge($params, $optParams);
› return $this->call('list', [$params], Search::class);
› }
arguments: {
$name: "list"
$arguments: array:1 [ …1]
$expectedClass: "Google\Service\CustomSearchAPI\Search"
}
}
/home/frischeis/www/vendor/elements/google-cse-bundle/src/Google/Cse.php:95 {
Elements\Bundle\GoogleCseBundle\Google\Cse->load(): array …
› if (!$result = Cache::load($cacheKey)) {
› $result = $search->cse->listCse($config);
› Cache::save($result, $cacheKey, ['google_cse'], 3600, 999);
arguments: {
$optParams: array:8 [ …8]
}
}
/home/frischeis/www/src/Controller/SearchController.php:191 {
App\Controller\SearchController->searchCSE(Request $request, PaginatorInterface $paginator) …
› $next = $previous = false;
› $result->load();
›
}
/home/frischeis/www/src/Controller/SearchController.php:107 {
App\Controller\SearchController->searchAction(Request $request, ProductService $productService, Translator $translator, PaginatorInterface $paginator) …
› if ($activeTab == 'content') {
› $cseResults = $this->searchCSE($request, $paginator);
› $trackingScript .= $cseResults['trackingScript'];
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#2 …}
$paginator: ContainerIoDaDXK\PaginatorProxy86bfc13 {#986 …}
}
}
/home/frischeis/www/vendor/symfony/http-kernel/HttpKernel.php:181 {
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
› // call controller
› $response = $controller(...$arguments);
›
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#2 …}
$productService: App\Service\ProductService {#1989 …}
$translator: Pimcore\Translation\Translator {#677 …}
$paginator: ContainerIoDaDXK\PaginatorProxy86bfc13 {#986 …}
}
}
/home/frischeis/www/vendor/symfony/http-kernel/HttpKernel.php:76 {
Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
› try {
› return $response = $this->handleRaw($request, $type);
› } catch (\Throwable $e) {
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#2 …}
$type: 1
}
}
/home/frischeis/www/vendor/symfony/http-kernel/Kernel.php:197 {
Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#2 …}
$type: 1
$catch: true
}
}
/home/frischeis/www/public/index.php:69 {
›
› $response = $kernel->handle($request);
›
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#2 …}
}
}
}
}