Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments

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