You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HI I'm trying to implement this $contact = $hubSpot->crm()->contacts()->basicApi()->getById('nonexistent@email.com', null, null, null, false, 'email');
which works ok if the email exists but if an email doesn't exists then it gives 404 error and doesn't let me catch it for error handling
Fatal error: Uncaught HubSpot\Client\Crm\Contacts\ApiException: [404] Client error: GET https://api.hubapi.com/crm/v3/objects/contacts/nonexistent%40email.com?archived=false&idProperty=email resulted in a 404 Not Found response