I could fix this issue by deleting all scopes and adding again as per the document https://www.3cx.com/docs/hubspot-pbx-crm-integration/. COnnection is successful, but the activities are not logged. If any one needs support till this stage, happy to assist.