requires an interface, although it is specified. Observed in the master version
{
"data": {
"alerts": [
{
"text": "a server must have at least one interface",
"level": "error"
}
]
},
"status": 400,
"config": {
"method": "POST",
"transformRequest": [
null
],
"transformResponse": [
null
],
"jsonpCallbackParam": "callback",
"url": "/api/3.0/servers",
"data": {
"updPending": false,
"tcpPort": 80,
"httpsPort": 443,
"ipIsService": true,
"ip6IsService": false,
"statusId": 1,
"hostName": "AMS-2120463",
"domainName": "am1.myawesomehost.com",
"cdnId": 2,
"profileId": 10,
"cachegroupId": 1,
"typeId": 12,
"interfaceName": "eth0",
"ipAddress": "51.15.3.208",
"ipNetmask": "51.15.3.0",
"ipGateway": "51.15.3.1",
"interfaceMtu": 1500,
"physLocationId": 1
},
"headers": {
"Accept": "application/json, text/plain, */*",
"Content-Type": "application/json;charset=utf-8"
},
"cached": false,
"withCredentials": true
},
"statusText": "Bad Request",
"xhrStatus": "complete"
}
downgrade to 4.1 fix issue
requires an interface, although it is specified. Observed in the master version
{ "data": { "alerts": [ { "text": "a server must have at least one interface", "level": "error" } ] }, "status": 400, "config": { "method": "POST", "transformRequest": [ null ], "transformResponse": [ null ], "jsonpCallbackParam": "callback", "url": "/api/3.0/servers", "data": { "updPending": false, "tcpPort": 80, "httpsPort": 443, "ipIsService": true, "ip6IsService": false, "statusId": 1, "hostName": "AMS-2120463", "domainName": "am1.myawesomehost.com", "cdnId": 2, "profileId": 10, "cachegroupId": 1, "typeId": 12, "interfaceName": "eth0", "ipAddress": "51.15.3.208", "ipNetmask": "51.15.3.0", "ipGateway": "51.15.3.1", "interfaceMtu": 1500, "physLocationId": 1 }, "headers": { "Accept": "application/json, text/plain, */*", "Content-Type": "application/json;charset=utf-8" }, "cached": false, "withCredentials": true }, "statusText": "Bad Request", "xhrStatus": "complete" }downgrade to 4.1 fix issue