Reply to Message

View discussion in a popup

Replying to:
Kamran474
Contributor
Contributor

Trying to provision Edge using Postman, but getting weird issue   "code": "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.
Labels (1)
Tags (1)
Reply
0 Kudos