Forum Discussion
API_User
3 years agoEquinix Employee
Error when setting up multiple connections
I sent a request to setup a primary and secondary connection with the body containing data structured like the following:
{
"data": [
{
"type": "EVPL_VC"
},
...
API_User
3 years agoEquinix Employee
I believe I was using the wrong API but the error message should have indicated such. I sent the request to the https://api.equinix.com/fabric/v4/connections API instead of the https://api.equinix.com/fabric/v4/connections/bulk API.
Given the "data" property in the request and the fact that the https://api.equinix.com/fabric/v4/connections API does not support that property I would expect this to be flagged rather than the actual error that was presented for the "/type" property.
Given the "data" property in the request and the fact that the https://api.equinix.com/fabric/v4/connections API does not support that property I would expect this to be flagged rather than the actual error that was presented for the "/type" property.