Skip to content

Commit db59ea7

Browse files
committed
Add comment so that I later on know what that status code means
1 parent ff24ed4 commit db59ea7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

functions.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ function login($customernr, $apikey, $apipassword)
203203
return $result['responsedata']['apisessionid'];
204204
}
205205

206+
// 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."
206207
if ($result['statuscode'] === 4013) {
207208
$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.]';
208209
}

0 commit comments

Comments
 (0)