The Equinix Community will be offline for scheduled maintenance on July 31, 2024. Learn More.
I sent a request to setup a primary and secondary connection with the body containing data structured like the following:
{
"data": [
{
"type": "EVPL_VC"
},
{
"type": "EVPL_VC"
}
]
}
When sending this I get the following error response which is obviously not correct:
[
{
"errorCode": "EQ-3142501",
"errorMessage": "Invalid argument value passed",
"details": "Invalid request type",
"correlationId": "null-0000-103911409258-api",
"additionalInfo": [
{
"property": "/type",
"reason": "Allowed values: EVPL_VC, EPL_VC, IP_VC, ACCESS_EPL_VC"
}
]
}
]
The type field in both cases is set to a valid value, EVPL_VC.
If I just create a single connection with either of the entries of the data array the connections setup properly.
Here is the structure of the request body with dummy values used:
{
"data": [
{
"name": "abc-p",
"type": "EVPL_VC",
"order": {
"purchaseOrderNumber": "1234"
},
"bandwidth": 1000,
"redundancy": {
"group": "12345676-abcd-ef12-3456-7890abcdef10",
"priority": "PRIMARY"
},
"aSide": {
"accessPoint": {
"type": "COLO",
"port": {
"uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
},
"linkProtocol": {
"type": "DOT1Q",
"vlanTag": 3456
}
}
},
"zSide": {
"accessPoint": {
"type": "SP",
"profile": {
"uuid": "11111111-2222-3333-4444-555555555555"
},
"location": {
"metroCode": "SV"
},
"linkProtocol": {
"type": "QINQ",
"vlanCTag": 3456
},
"authenticationKey": "11111111-aaaa-bbbb-cccc-222222222222",
"peeringType": "PRIVATE"
}
},
"notifications": [
{
"type": "ALL",
"emails": [
"foo@bar.com"
]
}
]
},
{
"name": "abc-s",
"type": "EVPL_VC",
"order": {
"purchaseOrderNumber": "1234"
},
"bandwidth": 1000,
"redundancy": {
"group": "12345676-abcd-ef12-3456-7890abcdef10",
"priority": "SECONDARY"
},
"aSide": {
"accessPoint": {
"type": "COLO",
"port": {
"uuid": "abcdefff-1111-aaaa-2222-fedcbaabcdef"
},
"linkProtocol": {
"type": "DOT1Q",
"vlanTag": 3456
}
}
},
"zSide": {
"accessPoint": {
"type": "SP",
"profile": {
"uuid": "12345678-0123-5678-9012-345678901234"
},
"location": {
"metroCode": "SV"
},
"linkProtocol": {
"type": "QINQ",
"vlanCTag": 3456
},
"authenticationKey": "beefbeef-beef-beef-beef-beefbeefbeef",
"peeringType": "PRIVATE"
}
},
"notifications": [
{
"type": "ALL",
"emails": [
"foo@bar.com"
]
}
]
}
]
}
Equinix is the world's digital infrastructure company. Digital leaders harness our trusted platform to bring together and interconnect the foundational infrastructure that powers their success. We enable our customers to access all the right places, partners and possibilities they need to accelerate advantage.