Error occurred while sending IP to API