Skip to content

Commit

Permalink
Add comment so that I later on know what that status code means
Browse files Browse the repository at this point in the history
  • Loading branch information
stecklars committed Mar 21, 2022
1 parent ff24ed4 commit db59ea7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.]';
}
Expand Down

0 comments on commit db59ea7

Please sign in to comment.