diff --git a/api/v3/TwingleSync/models/TwingleApiCall.php b/api/v3/TwingleSync/models/TwingleApiCall.php index 65e0ce0..b634ce8 100644 --- a/api/v3/TwingleSync/models/TwingleApiCall.php +++ b/api/v3/TwingleSync/models/TwingleApiCall.php @@ -40,7 +40,9 @@ class TwingleApiCall { curl_close($curl); if (empty($response)) { - throw new \API_Exception("Twingle API call failed"); + throw new \API_Exception( + "Twingle API call failed" . PHP_EOL . + "Please check your api key."); } $this->organisationId = array_column($response, 'id');