From db59ea714858dba080edb7a0e5b4bcd0eb398304 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars-S=C3=B6ren=20Steck?= Date: Mon, 21 Mar 2022 00:21:14 +0000 Subject: [PATCH] Add comment so that I later on know what that status code means --- functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/functions.php b/functions.php index b4e043b..1f18ac9 100644 --- a/functions.php +++ b/functions.php @@ -203,6 +203,7 @@ function login($customernr, $apikey, $apipassword) return $result['responsedata']['apisessionid']; } + // Error from API: "More than 180 requests per minute. Please wait and retry later. Please contact our customer service to find out if the limitation of requests can be increased." if ($result['statuscode'] === 4013) { $result['longmessage'] = $result['longmessage'] . ' [ADDITIONAL INFORMATION: This error from the netcup DNS API also often indicates that you have supplied wrong API credentials. Please check them in the config file.]'; }