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

DNAC SSID Creation API is Not working

Madha
Level 1
Level 1

Hello,

 

I am trying to create and provisioning the SSID using DNAC Api's however its not getting created and its keep throwing the following error 

{


"bapiKey": "1eb7-2ad3-4e09-8990",
"bapiName": "Create and Provision SSID",
"bapiExecutionId": "35e45f7b-79ad-44d5-b181-a9df7e708cd1",
"startTime": "Fri Oct 16 08:28:50 UTC 2020",
"startTimeEpoch": 1602836930601,
"endTime": "Fri Oct 16 08:30:31 UTC 2020",
"endTimeEpoch": 1602837031896,
"timeDuration": 101295,
"status": "FAILURE",
"bapiError": "{\"errorTask\":\"Create/update SSID\",\"errorType\":\"BAPI_INVOKER\",\"errorDescription\":\"{\\n \\\"bapiErrorResponse\\\" : {\\n \\\"bapiKey\\\" : \\\"7b96-fb95-4d09-b439\\\",\\n \\\"bapiName\\\" : \\\"Create or Update SSID\\\",\\n \\\"bapiErrorCode\\\" : \\\"\\\",\\n \\\"bapiErrorMessage\\\" : \\\"\\\"\\n },\\n \\\"componentErrorResponse\\\" : [ {\\n \\\"compId\\\" : \\\"uuiddbbd4869\\\",\\n \\\"compName\\\" : \\\"Collect response from poll\\\",\\n \\\"compErrorCode\\\" : \\\"500\\\",\\n \\\"compErrorMessage\\\" : \\\"fac8d4a1-a861-4d7b-9d88-f69f6032c9ce | b4992656-3280-4152-b967-2cbb132015db | 7b96-fb95-4d09-b439 : ScriptProcessor Execution Failed with error: SyntaxError: Invalid JSON: <json>:1:0 Expected json literal but found eof\\\\n\\\\n^ in <eval> at line number : 2 \\\",\\n \\\"componentType\\\" : \\\"JAVASCRIPT_TRANSFORM\\\"\\n } ]\\n}\",\"errorCode\":\"-1\"}",
"runtimeInstanceId": "DNACP_Runtime_3e76e4c5-81ba-4e55-b9d3-aa7055d64237"
}

 

 i have tried this api in DNAC api console. below are my input values  to the api

 

{
"managedAPLocations":[
"Global/Singapore/KA Center/fl4 main office"
],
"ssidDetails":{
"name":"test_jarvix",
"securityLevel":"WPA2_ENTERPRISE",
"enableFastLane":true,
"passphrase":"p@ssword",
"trafficType":"voicedata",
"enableBroadcastSSID":true,
"radioPolicy":"Dual band operation (2.4GHz and 5GHz)",
"enableMACFiltering":false,
"fastTransition":"Adaptive",
"webAuthURL":""
},
"ssidType":"Enterprise",
"enableFabric":false,
"flexConnect":{
"enableFlexConnect":true,
"localToVlan":0
}
}

 

 

0 Replies 0