Forum Discussion
API_User
7 years agoEquinix Employee
JSON Syntax Error
Hi everyone, I'm trying to create an Azure Express Route connection and when I try to send my POST request body:
{
"primaryName": "TestName-PRI",
"primaryPortUUID": "abcdefghijklmonopqrustuvwxyz",
"primaryVlanSTag": 511,
"profileUUID": "abcdefghijklmonopqrustuvwxyz",
"authorizationKey": "abcdefghijklmonopqrustuvwxyz",
"speed": 100,
"speedUnit": "MB",
"notifications": "abcdefghijklmonopqrustuvwxyz",
"sellerRegion": "ADAD",
"sellerMetroCode": "xx",
"secondaryName": "TestName-SEC",
"secondaryPortUUID": "abcdefghijklmonopqrustuvwxyz",
"secondaryVlanSTag": 511,
"namedTag": "Microsoft",
"primaryZSideVlanCTag": "###",
"secondaryZSideVlanCTag": "###"
}
Obviously I will not post content with real data from my company so I filled it in with dummy data.
I keep getting back the following error:
[
{
"errorCode": "IC-LAYER2-401",
"errorMessage": "Json syntax error,Please check request body",
"moreInfo": "Please refer the contracts for correct fields",
"property": ""
}
]
Am I missing something in the request body?
1 Reply
- API_UserEquinix EmployeeHi did you get an answer to this? I'm getting the same error. Thx
Related Content
- 2 years ago
- 7 years ago
- 3 years ago
Recent Discussions
Featured Places
Discussions
Engage with industry experts, share insights, ask questions, and grow your network.Ideas
We're listening! Submit your ideas to shape the future of Equinix!Groups
Ready to collaborate? Join a Group or upcoming beta program.What's New
Stay ahead with the latest from Equinix. Discover new product announcements, insightful tutorials, and practical use cases.Events
Your Guide to Upcoming Events - Online, Hybrid, and In-Person!