Skip to main content

Effective 10 September 2024, API Documentation can be found on our Equinix Product Documentation site.
The content on this page will not be updated after 1 Oct 2024 and will be inaccessible after 31st Dec 2024.


400: Bad Request

The 400 (Bad Request) status code indicates that the server couldn't process the request due to a client error (e.g. malformed request syntax, invalid request message framing, or deceptive request routing).

Code400
DescriptionValidation Error.
Generic CauseMalformed request.
Quick FixEnsure the payload sent adheres to the requirements.

There are different types of validation errors. This section provides sample scenarios with validation errors as well as tips to identify them.

IC-LAYER2-AUTH-006

CodeIC - LAYER2 - AUTH - 006
DescriptionInvalid request.
Generic CauseThe given named tag has already been used in another connection.
Quick FixVerify whether there is an existing connection with the given NamedTag associated with the given authorization/service key.
ERROR SCENARIO EXAMPLE
ERROR CODE: "IC-LAYER2-AUTH-006"
MESSAGE: "Error while validating Authorization Key, NamedTag already in use"
MOREINFO: ""
PROPERTY: "authorizationkey"
 

Verify the namedTag and modify the value as shown below.
Rename the namedTag to another value such as "Public", "Microsoft", or "Manual".

curl -X
GET "https://api.equinix.com/ne/v1/l2/connections"
-H "Content-type: application/json"
-H "Authorization: Bearer qwErtY8zyW1abcdefGHI"
-d '{
"primaryName": "johnDoePrimary",
"profileUUID": "274afb42-6d3a-4114-8f7e-717efee792ae",
"speed": 50,
"speedUnit": "MB",
"notifications": [
"JohnDoe@equinix.com"
],
"purchaseOrderNumber": "879324",
"virtualDeviceUUID": "ecb215dc-0d1d-4a48-a150-aacad8d3a371",
"secondaryName": "johnDoeSecondary",
"secondaryVirtualDeviceUUID": "03c2cfef-0ec2-4599-81c9-09efa0d7b0e7",
"secondarySpeed": 50,
"secondarySpeedUnit": "MB",
"namedTag": "Private",
"sellerMetroCode": "DC",
"authorizationKey": "fbc3c0e1-59e7-4bfe-b5f3-209dee6b692a"
}'

IC-NFV-CON-06

CodeIC-NFV-CON-06
DescriptionInvalid request.
Generic CauseIncorrect virtual device ID has been passed.
Quick FixVerify the virtual device ID passed.
ERROR SCENARIO EXAMPLE
ERROR CODE: "IC-NFV-CON-06"
MESSAGE: "Primary Virtual Device not found."
PROPERTY: ""
MOREINFO: "We can't find that Virtual Device."
 

Verify the virtual device ID passed.
The virtual device ID is incorrect. Replace the ID with the correct ID.

curl 
POST "https://api.equinix.com/ne/v1/l2/connections"
-H "content-type: application/json"
-H "authorization: Bearer qwErtY8zyW1abcdefGHI"
-d '{
"virtualDeviceUUID": "6c2845e5-be63-4261-ba1c-a53a7e4cf5ec",
"primaryName": "JohnDoePrimary",
"profileUUID": "84c6616c-573a-447d-a478-9fab8fff284d",
"speed": 50,
"speedUnit": "MB",
"purchaseOrderNumber": "",
"secondaryName": "JohnDoeSecondary",
"namedTag": "Private",
"sellerMetroCode": "SV",
"authorizationKey": "76e781b5-2992-4042-b2a2-37d0d5eb6735",
"notifications": [
"JohnDoe@equinix.com"
]
}'