Expand my Community achievements bar.

Network infrastructure exception

Avatar

Level 1
Endpoint:- https://cloudmanager.adobe.io/api/program/{{PROGRAM_ID}}/networkInfrastructures
request body:- 
{
    "kind""vpn",
    "region""va6",
    "addressSpace": [
        "100.64.26.107/32"
    ],
    "dns": {
        "resolvers": [
            "100.64.26.107"
        ]
    },
    "connections": [
        {
            "name""Virus",
            "gateway": {
                "address""192.168.0.8",
                "addressSpace": [
                    "192.168.0.8/32"
                ]
            },
            "sharedKey""Pass@123",
            "ipsecPolicy": {
                "dhGroup""DHGroup24",
                "ikeEncryption""AES256",
                "ikeIntegrity""SHA384",
                "ipsecEncryption""GCMAES256",
                "ipsecIntegrity""GCMAES256",
                "pfsGroup""PFS24",
                "saDatasize"100,
                "saLifetime"10
            }
        }
    ],
    "statusDetails": {}
}
 
Response:-
{
    "status"400,
    "title""Network infrastructure exception",
    "errors": [
        {
            "code""NETWORK_INFRASTRUCTURES_REGION_INVALID",
            "message""Region is unsupported"
        }
    ]
}
 
I am getting the above error while i am trying to create new Network Infrastructure by using the endpoint https://cloudmanager.adobe.io/api/program/{{PROGRAM_ID}}/networkInfrastructures. Can you please provide the solution for this error.
0 Replies