|
public function parseRetryAfter(Throwable $e): int public function parseRetryAfter(Throwable $e): int
{
if (method_exists($e, 'getResponseHeaders')) {
$headers = $e->getResponseHeaders() ?: [];
$this->log->info('[Hubspot] DEBUG Getting headers', [
'headers' => $headers,
]);
$value = $headers['Retry-After'] ?? $headers['retry-after'] ?? null;
if (is_array($value)) {
$value = $value[0] ?? null;
}
if (is_numeric($value)) {
return (int) $value;
}
}
return 10;
}...
|
NULL
|
NULL
|
NULL
|
|
public function parseRetryAfter(Throwable $e): int public function parseRetryAfter(Throwable $e): int
{
if (method_exists($e, 'getResponseHeaders')) {
$headers = $e->getResponseHeaders() ?: [];
$this->log->info('[Hubspot] DEBUG Getting headers', [
'headers' => $headers,
]);
$value = $headers['Retry-After'] ?? $headers['retry-after'] ?? null;
if (is_array($value)) {
$value = $value[0] ?? null;
}
if (is_numeric($value)) {
return (int) $value;
}
}
return 10;
}...
|
NULL
|
NULL
|
NULL
|
|
$e->getResponse()->getHeaders();
|
NULL
|
NULL
|
NULL
|
|
$e->getResponse()->getHeaders();
|
NULL
|
NULL
|
NULL
|
|
$e->getResponse()->getHeaders();
|
NULL
|
NULL
|
NULL
|
|
SevenShores\\Hubspot\\Exceptions\\BadRequest
|
NULL
|
NULL
|
NULL
|
|
SevenShores\\Hubspot\\Exceptions\\BadRequest
|
NULL
|
NULL
|
NULL
|
|
[previous exception] [object] (SevenShores\\Hubspo [previous exception] [object] (SevenShores\\Hubspot\\Exceptions\\BadRequest(code: 429): Client error: `POST https://api.hubapi.com/crm/v3/objects/contact/search` resulted in a `429 Too Many Requests` response:
{\"status\":\"error\",\"message\":\"You have reached your secondly limit.\",\"errorType\":\"RATE_LIMIT\",\"correlationId\":\"019e029a-6 (truncated...)
at /home/jiminny/vendor/hubspot/hubspot-php/src/Exceptions/HubspotException.php:24)
[stacktrace]...
|
NULL
|
NULL
|
NULL
|
|
[previous exception] [object] (SevenShores\\Hubspo [previous exception] [object] (SevenShores\\Hubspot\\Exceptions\\BadRequest(code: 429): Client error: `POST https://api.hubapi.com/crm/v3/objects/contact/search` resulted in a `429 Too Many Requests` response:
{\"status\":\"error\",\"message\":\"You have reached your secondly limit.\",\"errorType\":\"RATE_LIMIT\",\"correlationId\":\"019e029a-6 (truncated...)
at /home/jiminny/vendor/hubspot/hubspot-php/src/Exceptions/HubspotException.php:24)
[stacktrace]...
|
NULL
|
NULL
|
NULL
|
|
SevenShores\\Hubspot\\Exceptions\\BadRequest
|
NULL
|
NULL
|
NULL
|
|
SevenShores\\Hubspot\\Exceptions\\BadRequest
|
NULL
|
NULL
|
NULL
|
|
$current = $e;
while ($current !== null) {
$current = $e;
while ($current !== null) {
if (method_exists($current, 'getResponse')) {
$response = $current->getResponse();
if ($response !== null) {
return $response->getHeaders();
}
}
$current = $current->getPrevious();
}...
|
NULL
|
NULL
|
NULL
|
|
$current = $e;
while ($current !== null) {
$current = $e;
while ($current !== null) {
if (method_exists($current, 'getResponse')) {
$response = $current->getResponse();
if ($response !== null) {
return $response->getHeaders();
}
}
$current = $current->getPrevious();
}...
|
NULL
|
NULL
|
NULL
|
|
$current = $e;
while ($current !== null) {
$current = $e;
while ($current !== null) {
if (method_exists($current, 'getResponse')) {
$response = $current->getResponse();
if ($response !== null) {
return $response->getHeaders();
}
}
$current = $current->getPrevious();
}...
|
NULL
|
NULL
|
NULL
|
|
$headers
|
NULL
|
NULL
|
NULL
|
|
$headers
|
NULL
|
NULL
|
NULL
|
|
$headers
|
NULL
|
NULL
|
NULL
|
|
$this->log->info('[Hubspot] DEBUG Gettin $this->log->info('[Hubspot] DEBUG Getting headers', [
'headers' => $headers,
]);...
|
NULL
|
NULL
|
NULL
|
|
$this->log->info('[Hubspot] DEBUG Gettin $this->log->info('[Hubspot] DEBUG Getting headers', [
'headers' => $headers,
]);...
|
NULL
|
NULL
|
NULL
|
|
php artisan optimize:clear && supervisorct php artisan optimize:clear && supervisorctl restart all...
|
NULL
|
NULL
|
NULL
|
|
php artisan optimize:clear && supervisorct php artisan optimize:clear && supervisorctl restart all...
|
NULL
|
NULL
|
NULL
|
|
parseRetryAfter
|
NULL
|
NULL
|
NULL
|
|
parseRetryAfter
|
NULL
|
NULL
|
NULL
|
|
\Illuminate\Support\Facades\Log::channel('cust \Illuminate\Support\Facades\Log::channel('custom_channel')->info("");...
|
NULL
|
NULL
|
NULL
|
|
parseRetryAfter
|
NULL
|
NULL
|
NULL
|
|
CM3owZbgMxIZQlNQMl8kQEwrAgwACAkUAhIJBB4BAQEDBxiCiY CM3owZbgMxIZQlNQMl8kQEwrAgwACAkUAhIJBB4BAQEDBxiCiYwCIN7Y_Qwo0qwCMhQ-qCgM-qsi2MgMGzVBSoAWgYsPgjoyQlNQMl8kQEwrAiUACBkGawEFThwBARIBAQEEATEEAQEBAQEBAQEBAQUBEggBAQEBAYlCFEWsx172BcmEOTsuuKxyD3Y52atnSgNuYTFSAFoAYABo3tj9DHAAeAA...
|
NULL
|
NULL
|
NULL
|
|
CM3owZbgMxIZQlNQMl8kQEwrAgwACAkUAhIJBB4BAQEDBxiCiY CM3owZbgMxIZQlNQMl8kQEwrAgwACAkUAhIJBB4BAQEDBxiCiYwCIN7Y_Qwo0qwCMhQ-qCgM-qsi2MgMGzVBSoAWgYsPgjoyQlNQMl8kQEwrAiUACBkGawEFThwBARIBAQEEATEEAQEBAQEBAQEBAQUBEggBAQEBAYlCFEWsx172BcmEOTsuuKxyD3Y52atnSgNuYTFSAFoAYABo3tj9DHAAeAA...
|
NULL
|
NULL
|
NULL
|
|
CM3owZbgMxIZQlNQMl8kQEwrAgwACAkUAhIJBB4BAQEDBxiCiY CM3owZbgMxIZQlNQMl8kQEwrAgwACAkUAhIJBB4BAQEDBxiCiYwCIN7Y_Qwo0qwCMhQ-qCgM-qsi2MgMGzVBSoAWgYsPgjoyQlNQMl8kQEwrAiUACBkGawEFThwBARIBAQEEATEEAQEBAQEBAQEBAQUBEggBAQEBAYlCFEWsx172BcmEOTsuuKxyD3Y52atnSgNuYTFSAFoAYABo3tj9DHAAeAA...
|
NULL
|
NULL
|
NULL
|
|
[2026-05-07 14:08:35] local.INFO: [Hubspot] DEBUG [2026-05-07 14:08:35] local.INFO: [Hubspot] DEBUG Getting headers {"headers":{"Date":["Thu, 07 May 2026 14:08:35 GMT"],"Content-Type":["application/json;charset=utf-8"],"Content-Length":["227"],"Connection":["keep-alive"],"CF-Ray":["9f80cc29fd66dc1a-SOF"],"CF-Cache-Status":["DYNAMIC"],"Strict-Transport-Security":["max-age=31536000; includeSubDomains; preload"],"Vary":["origin"],"access-control-allow-credentials":["false"],"server-timing":["hcid;desc=\"019e02c4-d684-7f5d-be16-3d129d00c0a3\", cfr;desc=\"9f80cc2a06d23402-IAD\""],"x-content-type-options":["nosniff"],"x-hubspot-correlation-id":["019e02c4-d684-7f5d-be16-3d129d00c0a3"],"Set-Cookie":["__cf_bm=0LMCTstVmP5pyIYfLZ1Vgebevm4BnI_hv250XvZJDZI-1778162915-[IP_ADDRESS]-VEXAxU7TqgaJhUSJaNRDF5y59Eo7wOLd78Bm1nV_hNpBHZQPCrg.WMJL_LJy2qoR84rCgLXAlUPz4jkFWtD3fDjrRxypSlr4zAPvuPPaoNM; path=/; expires=Thu, 07-May-26 14:38:35 GMT; domain=.hubapi.com; HttpOnly; Secure; SameSite=None"],"Report-To":["{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudfl......
|
NULL
|
NULL
|
NULL
|
|
[2026-05-07 14:08:35] local.INFO: [Hubspot] DEBUG [2026-05-07 14:08:35] local.INFO: [Hubspot] DEBUG Getting headers {"headers":{"Date":["Thu, 07 May 2026 14:08:35 GMT"],"Content-Type":["application/json;charset=utf-8"],"Content-Length":["227"],"Connection":["keep-alive"],"CF-Ray":["9f80cc29fd66dc1a-SOF"],"CF-Cache-Status":["DYNAMIC"],"Strict-Transport-Security":["max-age=31536000; includeSubDomains; preload"],"Vary":["origin"],"access-control-allow-credentials":["false"],"server-timing":["hcid;desc=\"019e02c4-d684-7f5d-be16-3d129d00c0a3\", cfr;desc=\"9f80cc2a06d23402-IAD\""],"x-content-type-options":["nosniff"],"x-hubspot-correlation-id":["019e02c4-d684-7f5d-be16-3d129d00c0a3"],"Set-Cookie":["__cf_bm=0LMCTstVmP5pyIYfLZ1Vgebevm4BnI_hv250XvZJDZI-1778162915-[IP_ADDRESS]-VEXAxU7TqgaJhUSJaNRDF5y59Eo7wOLd78Bm1nV_hNpBHZQPCrg.WMJL_LJy2qoR84rCgLXAlUPz4jkFWtD3fDjrRxypSlr4zAPvuPPaoNM; path=/; expires=Thu, 07-May-26 14:38:35 GMT; domain=.hubapi.com; HttpOnly; Secure; SameSite=None"],"Report-To":["{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudfl......
|
NULL
|
NULL
|
NULL
|
|
[2026-05-07 14:08:35] local.INFO: [Hubspot] DEBUG [2026-05-07 14:08:35] local.INFO: [Hubspot] DEBUG Getting headers {"headers":{"Date":["Thu, 07 May 2026 14:08:35 GMT"],"Content-Type":["application/json;charset=utf-8"],"Content-Length":["227"],"Connection":["keep-alive"],"CF-Ray":["9f80cc29fd66dc1a-SOF"],"CF-Cache-Status":["DYNAMIC"],"Strict-Transport-Security":["max-age=31536000; includeSubDomains; preload"],"Vary":["origin"],"access-control-allow-credentials":["false"],"server-timing":["hcid;desc=\"019e02c4-d684-7f5d-be16-3d129d00c0a3\", cfr;desc=\"9f80cc2a06d23402-IAD\""],"x-content-type-options":["nosniff"],"x-hubspot-correlation-id":["019e02c4-d684-7f5d-be16-3d129d00c0a3"],"Set-Cookie":["__cf_bm=0LMCTstVmP5pyIYfLZ1Vgebevm4BnI_hv250XvZJDZI-1778162915-[IP_ADDRESS]-VEXAxU7TqgaJhUSJaNRDF5y59Eo7wOLd78Bm1nV_hNpBHZQPCrg.WMJL_LJy2qoR84rCgLXAlUPz4jkFWtD3fDjrRxypSlr4zAPvuPPaoNM; path=/; expires=Thu, 07-May-26 14:38:35 GMT; domain=.hubapi.com; HttpOnly; Secure; SameSite=None"],"Report-To":["{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudfl......
|
NULL
|
NULL
|
NULL
|
|
[2026-05-07 14:08:35] local.INFO: [Hubspot] DEBUG [2026-05-07 14:08:35] local.INFO: [Hubspot] DEBUG Getting headers {"headers":{"Date":["Thu, 07 May 2026 14:08:35 GMT"],"Content-Type":["application/json;charset=utf-8"],"Content-Length":["227"],"Connection":["keep-alive"],"CF-Ray":["9f80cc29fd66dc1a-SOF"],"CF-Cache-Status":["DYNAMIC"],"Strict-Transport-Security":["max-age=31536000; includeSubDomains; preload"],"Vary":["origin"],"access-control-allow-credentials":["false"],"server-timing":["hcid;desc=\"019e02c4-d684-7f5d-be16-3d129d00c0a3\", cfr;desc=\"9f80cc2a06d23402-IAD\""],"x-content-type-options":["nosniff"],"x-hubspot-correlation-id":["019e02c4-d684-7f5d-be16-3d129d00c0a3"],"Set-Cookie":["__cf_bm=0LMCTstVmP5pyIYfLZ1Vgebevm4BnI_hv250XvZJDZI-1778162915-[IP_ADDRESS]-VEXAxU7TqgaJhUSJaNRDF5y59Eo7wOLd78Bm1nV_hNpBHZQPCrg.WMJL_LJy2qoR84rCgLXAlUPz4jkFWtD3fDjrRxypSlr4zAPvuPPaoNM; path=/; expires=Thu, 07-May-26 14:38:35 GMT; domain=.hubapi.com; HttpOnly; Secure; SameSite=None"],"Report-To":["{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudfl......
|
NULL
|
NULL
|
NULL
|
|
$current = $e;
while ($current !== null) { $current = $e;
while ($current !== null) {
if (method_exists($current, 'getResponse')) {
$response = $current->getResponse();
if ($response !== null) {
$headers = $response->getHeaders();
}
}
$current = $current->getPrevious();
}...
|
NULL
|
NULL
|
NULL
|
|
$current = $e;
while ($current !== null) { $current = $e;
while ($current !== null) {
if (method_exists($current, 'getResponse')) {
$response = $current->getResponse();
if ($response !== null) {
$headers = $response->getHeaders();
}
}
$current = $current->getPrevious();
}...
|
NULL
|
NULL
|
NULL
|
|
$current = $e;
while ($current !== null) { $current = $e;
while ($current !== null) {
if (method_exists($current, 'getResponse')) {
$response = $current->getResponse();
if ($response !== null) {
$headers = $response->getHeaders();
}
}
$current = $current->getPrevious();
}...
|
NULL
|
NULL
|
NULL
|
|
$current = $e;
while ($current !== null) { $current = $e;
while ($current !== null) {
if (method_exists($current, 'getResponse')) {
$response = $current->getResponse();
if ($response !== null) {
$headers = $response->getHeaders();
}
}
$current = $current->getPrevious();
}...
|
NULL
|
NULL
|
NULL
|
|
$current = $e;
while ($current !== null) { $current = $e;
while ($current !== null) {
if (method_exists($current, 'getResponse')) {
$response = $current->getResponse();
if ($response !== null) {
$headers = $response->getHeaders();
}
}
$current = $current->getPrevious();
}...
|
NULL
|
NULL
|
NULL
|
|
$current = $e;
while ($current !== null) { $current = $e;
while ($current !== null) {
if (method_exists($current, 'getResponse')) {
$response = $current->getResponse();
if ($response !== null) {
$headers = $response->getHeaders();
}
}
$current = $current->getPrevious();
}...
|
NULL
|
NULL
|
NULL
|
|
$current = $e;
while ($current !== null) { $current = $e;
while ($current !== null) {
if (method_exists($current, 'getResponse')) {
$response = $current->getResponse();
if ($response !== null) {
$headers = $response->getHeaders();
}
}
$current = $current->getPrevious();
}...
|
NULL
|
NULL
|
NULL
|
|
$current = $e;
while ($current !== null) { $current = $e;
while ($current !== null) {
if (method_exists($current, 'getResponse')) {
$response = $current->getResponse();
if ($response !== null) {
$headers = $response->getHeaders();
}
}
$current = $current->getPrevious();
}...
|
NULL
|
NULL
|
NULL
|
|
$current = $e;
while ($current !== null) { $current = $e;
while ($current !== null) {
if (method_exists($current, 'getResponse')) {
$response = $current->getResponse();
if ($response !== null) {
$headers = $response->getHeaders();
}
}
$current = $current->getPrevious();
}...
|
NULL
|
NULL
|
NULL
|
|
$current = $e;
while ($current !== null) { $current = $e;
while ($current !== null) {
if (method_exists($current, 'getResponse')) {
$response = $current->getResponse();
if ($response !== null) {
$headers = $response->getHeaders();
}
}
$current = $current->getPrevious();
}...
|
NULL
|
NULL
|
NULL
|
|
$current = $e;
while ($current !== null) { $current = $e;
while ($current !== null) {
if (method_exists($current, 'getResponse')) {
$response = $current->getResponse();
if ($response !== null) {
$headers = $response->getHeaders();
}
}
$current = $current->getPrevious();
}...
|
NULL
|
NULL
|
NULL
|
|
$current = $e;
while ($current !== null) { $current = $e;
while ($current !== null) {
if (method_exists($current, 'getResponse')) {
$response = $current->getResponse();
if ($response !== null) {
$headers = $response->getHeaders();
}
}
$current = $current->getPrevious();
}...
|
NULL
|
NULL
|
NULL
|
|
$current = $e;
while ($current !== null) { $current = $e;
while ($current !== null) {
if (method_exists($current, 'getResponse')) {
$response = $current->getResponse();
if ($response !== null) {
$headers = $response->getHeaders();
}
}
$current = $current->getPrevious();
}...
|
NULL
|
NULL
|
NULL
|
|
$current = $e;
while ($current !== null) { $current = $e;
while ($current !== null) {
if (method_exists($current, 'getResponse')) {
$response = $current->getResponse();
if ($response !== null) {
$headers = $response->getHeaders();
}
}
$current = $current->getPrevious();
}...
|
NULL
|
NULL
|
NULL
|
|
$current = $e;
while ($current !== null) { $current = $e;
while ($current !== null) {
if (method_exists($current, 'getResponse')) {
$response = $current->getResponse();
if ($response !== null) {
$headers = $response->getHeaders();
}
}
$current = $current->getPrevious();
}...
|
NULL
|
NULL
|
NULL
|
|
$current = $e;
while ($current !== null) { $current = $e;
while ($current !== null) {
if (method_exists($current, 'getResponse')) {
$response = $current->getResponse();
if ($response !== null) {
$headers = $response->getHeaders();
}
}
$current = $current->getPrevious();
}...
|
NULL
|
NULL
|
NULL
|
|
$current = $e;
while ($current !== null) { $current = $e;
while ($current !== null) {
if (method_exists($current, 'getResponse')) {
$response = $current->getResponse();
if ($response !== null) {
$headers = $response->getHeaders();
}
}
$current = $current->getPrevious();
}...
|
NULL
|
NULL
|
NULL
|
|
Throwable $e
|
NULL
|
NULL
|
NULL
|