VMware {code} Community
Kamran474
Contributor
Contributor

Failing to provisioned edge device using Postman, getting weird error EDGE_PROVISION_0002

Hello,

I'm using Postman and trying to provision Edge in our LAB environment, here is the Body in JSON:

 

{
    "params": {
        "name": "kamran",
        "customInfo": "test",
        "configurationId": "4647",
        "serialNumber": null,
        "site": {
            "id": null,
            "created": null,
            "name": null,
            "contactName": "Kamran",
            "contactPhone": null,
            "contactMobile": null,
            "contactEmail": "test@mail.com",
            "streetAddress": null,
            "streetAddress2": null,
            "city": null,
            "state": null,
            "postalCode": null,
            "country": null,
            "lat": null,
            "lon": null,
            "timezone": null,
            "locale": null,
            "shippingSameAsLocation": 1,
            "shippingContactName": null,
            "shippingAddress": null,
            "shippingAddress2": null,
            "shippingCity": null,
            "shippingState": null,
            "shippingPostalCode": null,
            "shippingCountry": null,
            "modified": null
        },
        "haEnabled": true,
        "edgeLicenseId": "175",
        "modelNumber": "edge6X0",
        "enterpriseProxyId": 21
    },
    "id": null
}
 
 
Getting JSON error:
 
{
    "error": {
        "code": -32603,
        "message": "validationError",
        "data": {
            "valid": false,
            "error": [
                {
                    "code": "EDGE_PROVISION_0002",
                    "message": "Configuration id must be provided while provisioning the edge",
                    "path": "configurationId"
                }
            ],
            "warning": []
        }
    }
}
 
------------------------------
 
As you can see in JSON body, I have configurationId provided, not clear what else require
 
Appreciate any response,
 
Thank you.
0 Kudos
1 Reply
Kamran474
Contributor
Contributor

Any ideas ?

Tags (1)
0 Kudos