cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1220
Views
0
Helpful
2
Replies

Cisco DNA Center API -- Problems creating Buildings SITEs

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.

2 Replies 2

Johannes_Grimm
Level 1
Level 1

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

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

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: