GuzzleHttp\Exception\ClientException {#1158
  #message: """
    Client error: `GET https://ws2.ven-do.biz/privacy/user?id=` resulted in a `400 Bad Request` response:\n
    {"status":"error","message":"The id must be a string.","data":[],"http_code":400}\n
    """
  #code: 400
  #file: "/var/www/html/static.opto-e.cn/app/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php"
  #line: 111
  -request: GuzzleHttp\Psr7\Request {#1138
    -method: "GET"
    -requestTarget: null
    -uri: GuzzleHttp\Psr7\Uri {#1132
      -scheme: "https"
      -userInfo: ""
      -host: "ws2.ven-do.biz"
      -port: null
      -path: "/privacy/user"
      -query: "id="
      -fragment: ""
      -composedComponents: "https://ws2.ven-do.biz/privacy/user?id="
    }
    -headers: array:4 [
      "User-Agent" => array:1 [
        0 => "Craft/4.15.2 GuzzleHttp/7"
      ]
      "Host" => array:1 [
        0 => "ws2.ven-do.biz"
      ]
      "X-Company" => array:1 [
        0 => "optoengineering"
      ]
      "X-Auth-Token" => array:1 [
        0 => "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3dzMi52ZW4tZG8uYml6L2xvZ2luIiwiaWF0IjoxNzQ3ODMyMDEwLCJleHAiOjE3NDc4NDgyMTAsIm5iZiI6MTc0NzgzMjAxMCwianRpIjoiaXdaTWVMNG9oZUk2bk5NOSIsInN1YiI6IjE1NDgxIiwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSIsInVzZXJfaWQiOjE1NDgxLCJjb21wYW55Ijoib3B0b2VuZ2luZWVyaW5nIiwiY3VycmVudF9jb21wYW55IjoyNywiaXBfYWRkcmVzcyI6IjEwLjEzNy4xNjAuMjAxIiwiY3JlYXRlZF9hdCI6IjIwMjUtMDUtMjEgMTQ6NTM6MzAiLCJjb250YWN0X2NvbXBhbnkiOjI3fQ.uCwsJj-RXGj2Gh1ToyYc3b7orEDNaI4vl7Alp61w9aE"
      ]
    ]
    -headerNames: array:4 [
      "user-agent" => "User-Agent"
      "host" => "Host"
      "x-company" => "X-Company"
      "x-auth-token" => "X-Auth-Token"
    ]
    -protocol: "1.1"
    -stream: GuzzleHttp\Psr7\Stream {#1139
      -stream: stream resource @23
        wrapper_type: "PHP"
        stream_type: "TEMP"
        mode: "w+b"
        unread_bytes: 0
        seekable: true
        uri: "php://temp"
        options: []
      }
      -size: 0
      -seekable: true
      -readable: true
      -writable: true
      -uri: "php://temp"
      -customMetadata: []
    }
  }
  -response: GuzzleHttp\Psr7\Response {#1142
    -reasonPhrase: "Bad Request"
    -statusCode: 400
    -headers: array:8 [
      "Server" => array:1 [
        0 => "nginx"
      ]
      "Date" => array:1 [
        0 => "Wed, 21 May 2025 12:53:32 GMT"
      ]
      "Content-Type" => array:1 [
        0 => "application/json"
      ]
      "Transfer-Encoding" => array:1 [
        0 => "chunked"
      ]
      "Connection" => array:1 [
        0 => "keep-alive"
      ]
      "Cache-Control" => array:1 [
        0 => "private, must-revalidate"
      ]
      "pragma" => array:1 [
        0 => "no-cache"
      ]
      "expires" => array:1 [
        0 => "-1"
      ]
    ]
    -headerNames: array:8 [
      "server" => "Server"
      "date" => "Date"
      "content-type" => "Content-Type"
      "transfer-encoding" => "Transfer-Encoding"
      "connection" => "Connection"
      "cache-control" => "Cache-Control"
      "pragma" => "pragma"
      "expires" => "expires"
    ]
    -protocol: "1.1"
    -stream: GuzzleHttp\Psr7\Stream {#1143
      -stream: stream resource @25
        wrapper_type: "PHP"
        stream_type: "TEMP"
        mode: "w+b"
        unread_bytes: 0
        seekable: true
        uri: "php://temp"
        options: []
      }
      -size: 81
      -seekable: true
      -readable: true
      -writable: true
      -uri: "php://temp"
      -customMetadata: []
    }
  }
  -handlerContext: []
  trace: {
    /var/www/html/static.opto-e.cn/app/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:111 {
      GuzzleHttp\Exception\RequestException::create(RequestInterface $request, ?ResponseInterface $response = null, ?Throwable $previous = null, array $handlerContext = [], ?BodySummarizerInterface $bodySummarizer = null): self …
      › 
      ›     return new $className($message, $request, $response, $previous, $handlerContext);}
    }
    /var/www/html/static.opto-e.cn/app/vendor/guzzlehttp/guzzle/src/Middleware.php:72 {
      GuzzleHttp\Middleware::GuzzleHttp\{closure} …
      ›     }    throw RequestException::create($request, $response, null, [], $bodySummarizer);}
    }
    /var/www/html/static.opto-e.cn/app/vendor/guzzlehttp/promises/src/Promise.php:209 {
      GuzzleHttp\Promise\Promise::callHandler(int $index, $value, array $handler): void …
      ›     unset($handler);    $promise->resolve($f($value));} elseif ($index === 1) {
    }
    /var/www/html/static.opto-e.cn/app/vendor/guzzlehttp/promises/src/Promise.php:158 {
      GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure} …
      › foreach ($handlers as $handler) {    self::callHandler($id, $value, $handler);}
    }
    /var/www/html/static.opto-e.cn/app/vendor/guzzlehttp/promises/src/TaskQueue.php:52 {
      GuzzleHttp\Promise\TaskQueue->run(): void …
      ›     /** @var callable $task */    $task();}
    }
    /var/www/html/static.opto-e.cn/app/vendor/guzzlehttp/promises/src/Promise.php:251 {
      GuzzleHttp\Promise\Promise->invokeWaitFn(): void …
      ›     $this->waitFn = null;    $wfn(true);} catch (\Throwable $reason) {
    }
    /var/www/html/static.opto-e.cn/app/vendor/guzzlehttp/promises/src/Promise.php:227 {
      GuzzleHttp\Promise\Promise->waitIfPending(): void …
      › } elseif ($this->waitFn) {    $this->invokeWaitFn();} elseif ($this->waitList) {
    }
    /var/www/html/static.opto-e.cn/app/vendor/guzzlehttp/promises/src/Promise.php:272 {
      GuzzleHttp\Promise\Promise->invokeWaitList(): void …
      › do {    $result->waitIfPending();    $result = $result->result;
    }
    /var/www/html/static.opto-e.cn/app/vendor/guzzlehttp/promises/src/Promise.php:229 {
      GuzzleHttp\Promise\Promise->waitIfPending(): void …
      › } elseif ($this->waitList) {    $this->invokeWaitList();} else {
    }
    /var/www/html/static.opto-e.cn/app/vendor/guzzlehttp/promises/src/Promise.php:69 {
      GuzzleHttp\Promise\Promise->wait(bool $unwrap = true) …
      › {    $this->waitIfPending();}
    /var/www/html/static.opto-e.cn/app/vendor/guzzlehttp/guzzle/src/Client.php:189 {
      GuzzleHttp\Client->request(string $method, $uri = '', array $options = []): ResponseInterface …
      › 
      ›     return $this->requestAsync($method, $uri, $options)->wait();}
    }
    /var/www/html/static.opto-e.cn/app/repo/src/services/AccountForm.php:64 {
      paxxion\opto\services\AccountForm->ottieni_user($id) …
      › 'headers' => [\t'X-Company'    => $this->company,\t'X-Auth-Token' => $token
    }
    /var/www/html/static.opto-e.cn/app/vendor/twig/twig/src/Extension/CoreExtension.php:1861 {
      Twig\Extension\CoreExtension::getAttribute(Environment $env, Source $source, $object, $item, array $arguments = [], $type = Template::ANY_CALL, $isDefinedTest = false, $ignoreStrictCheck = false, $sandboxed = false, int $lineno = -1) …
      › try {    $ret = $object->$method(...$arguments);} catch (\BadMethodCallException $e) {
    }
    /var/www/html/static.opto-e.cn/app/vendor/craftcms/cms/src/helpers/Template.php:158 {
      craft\helpers\Template::attribute(Environment $env, Source $source, mixed $object, mixed $item, array $arguments = [], string $type = Template::ANY_CALL, bool $isDefinedTest = false, bool $ignoreStrictCheck = false, bool $sandboxed = false, int $lineno = -1): mixed …
      ›     $sandboxed,    $lineno,);
    }
    /var/www/html/static.opto-e.cn/app/storage/runtime/compiled_templates/fd/fd7f1e9d8efdb4eab5e4abd381a1a268.php:113 {
      __TwigTemplate_ae8c00aed427adac05c5f9c22b06b2c7->doDisplay(array $context, array $blocks = []): iterable …
      › yield "\t\t\t";$context["utente"] = craft\helpers\Template::attribute($this->env, $this->source, craft\helpers\Template::attribute($this->env, $this->source, ($context["craft"] ?? null), "accountForm", [], "any", false, false, false, 42), "ottieni_user", [($context["uuid"] ?? null)], "method", false, false, false, 42);// line 43
    }
    /var/www/html/static.opto-e.cn/app/vendor/twig/twig/src/Template.php:387 {
      Twig\Template->yield(array $context, array $blocks = []): iterable …
      › try {    yield from $this->doDisplay($context, $blocks);} catch (Error $e) {
    }
    /var/www/html/static.opto-e.cn/app/storage/runtime/compiled_templates/f1/f1ca9cc68bb043a45920357dd768c0ce.php:68 {
      __TwigTemplate_02a4ada4e8b6208ce519ce03eefff10e->doDisplay(array $context, array $blocks = []): iterable …
      › // line 15yield from $this->loadTemplate(($context["sub"] ?? null), "_index", 15)->unwrap()->yield($context);craft\helpers\Template::endProfile("template", "_index");
    }
    /var/www/html/static.opto-e.cn/app/vendor/twig/twig/src/Template.php:387 {
      Twig\Template->yield(array $context, array $blocks = []): iterable …
      › try {    yield from $this->doDisplay($context, $blocks);} catch (Error $e) {
    }
    /var/www/html/static.opto-e.cn/app/vendor/twig/twig/src/Template.php:343 {
      Twig\Template->display(array $context, array $blocks = []): void …
      › {    foreach ($this->yield($context, $blocks) as $data) {        echo $data;
    }
    /var/www/html/static.opto-e.cn/app/vendor/twig/twig/src/Template.php:358 {
      Twig\Template->render(array $context): string …
      › try {    $this->display($context);} catch (\Throwable $e) {
    }
    /var/www/html/static.opto-e.cn/app/vendor/twig/twig/src/TemplateWrapper.php:35 {
      Twig\TemplateWrapper->render(array $context = []): string …
      › {    return $this->template->render($context);}
    }
    /var/www/html/static.opto-e.cn/app/vendor/twig/twig/src/Environment.php:320 {
      Twig\Environment->render($name, array $context = []): string …
      › {    return $this->load($name)->render($context);}
    }
    /var/www/html/static.opto-e.cn/app/vendor/craftcms/cms/src/web/View.php:539 {
      craft\web\View->renderTemplate(string $template, array $variables = [], ?string $templateMode = null): string …
      › try {    $output = $this->getTwig()->render($template, $variables);} finally {
    }
    /var/www/html/static.opto-e.cn/app/vendor/craftcms/cms/src/web/View.php:592 {
      craft\web\View->renderPageTemplate(string $template, array $variables = [], ?string $templateMode = null): string …
      › $this->beginPage();echo $this->renderTemplate($template, $variables);$this->endPage();
    }
    /var/www/html/static.opto-e.cn/app/vendor/craftcms/cms/src/web/TemplateResponseFormatter.php:57 {
      craft\web\TemplateResponseFormatter->format($response) …
      › try {    $response->content = $view->renderPageTemplate($behavior->template, $behavior->variables, $behavior->templateMode);} catch (Throwable $e) {
    }
    /var/www/html/static.opto-e.cn/app/vendor/yiisoft/yii2/web/Response.php:1109 {
      yii\web\Response->prepare() …
      › if ($formatter instanceof ResponseFormatterInterface) {    $formatter->format($this);} else {
    }
    /var/www/html/static.opto-e.cn/app/vendor/craftcms/cms/src/web/Response.php:341 {
      craft\web\Response->prepare(): void …
      › {    parent::prepare();    $this->_isPrepared = true;
    }
    /var/www/html/static.opto-e.cn/app/vendor/yiisoft/yii2/web/Response.php:340 {
      yii\web\Response->send() …
      › $this->trigger(self::EVENT_BEFORE_SEND);$this->prepare();$this->trigger(self::EVENT_AFTER_PREPARE);
    }
    /var/www/html/static.opto-e.cn/app/vendor/yiisoft/yii2/base/Application.php:390 {
      yii\base\Application->run() …
      › $this->state = self::STATE_SENDING_RESPONSE;$response->send();}
    /var/www/html/static.opto-e.cn/public/index.php:27 {
      › 
      › $app->run();}
  }
}