Hi Team,
We are getting connection reset issue frequently while trying to access HubSpot API, Below are the errors we are getting, Any information regarding this issue will be helpful.
REST_REQUEST_URL :“https://api.hubapi.com/crm/v3/objects/contacts/search",“**REST\_REQUEST\_BODY**”:"{\\“limit\\”:100,\\“after\\”:0,\\“sorts\\”:\[{\\“propertyName\\”:\\“createdate\\”,\\“direction\\”:\\“ASCENDING\\”}],\“properties\”:[\“checkjan\”,\“company_size\”,\“custom1212\”],\“filterGroups\”:[{\“filters\”:[{\“highValue\”:0,\“propertyName\”:\“createdate\”,\“value\”:0,\“operator\”:\“BETWEEN\”}]}]}”}}
Error - “details”:{“message”:"Request failed with Http IO exception: “,“logData”:{“ExceptionMessage”:“Connection reset”}} , “exceptionTrace”:” java.net.SocketException: Connection reset\n at java.base/java.net.SocketInputStream.read(Unknown Source)\n at java.base/java.net.SocketInputStream.read(Unknown Source)\n at java.base/sun.security.ssl.SSLSocketInputRecord.read(Unknown