04-11-2019 11:35 PM - edited 04-11-2019 11:36 PM
I open this discussion because I have detected a serious problem on the API of the DNA Center product.
When I try to create a Building with the next JSON:
{
"type": "building",
"site": {
"area": {
"name": "Barcelona",
"parentName": "Catalunya"
},
"building": {
"name": "BCN_Central",
"address": "Barcelona-BCN",
}
}
}
Then I receive the next response:
{u'executionStatusUrl': u'http-s://10.10.20.103/api/dnacaap/v1/dnacaap/management/execution-status/0243a3e4-b0ff-430a-9355-3f06a311d941', u'executionId': u'0243a3e4-b0ff-430a-9355-3f06a311d941', u'message': u'The request has been accepted for execution'}
When I look for the status of the execution i receive this information:
Status: FAILURE
Date_end: Thu Apr 11 15:08:42 UTC 2019
Type: Create Site
Error_Info:
{
"bapiErrorResponse" : {
"bapiKey" : "50b5-89fd-4c7a-930a",
"bapiName" : "Create Site",
"bapiErrorCode" : "",
"bapiErrorMessage" : ""
},
"componentErrorResponse" : [ {
"compId" : "uuid4b784701",
"compName" : "GET Location info",
"compErrorCode" : "500",
"compErrorMessage" : "Rest execution failed with error, exception details: https://kltanoy-eval-test.apigee.net/python-integration-heroku: unknown error",
"componentType" : "REST_CLIENT"
} ]
}
As you could see there says that's a problem with the Location info to create the Building Site.
04-12-2019 01:00 AM
Hi Marcos,
you need to be sure your DNA Center has internet access. Maybe there are problems with the proxy here? As far as I know, the service asks the address at mapbox.com.
Best regards,
Johannes
04-12-2019 01:11 AM
Hello
Then the problem is on the Cisco SANDBOX (https://sandboxdnac.cisco.com/dna/design/home)
It needs then Internet connection to obtain GPS position from the Adress
Thanks a lot
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide