RUCKUS Community Forums are now in READ-ONLY mode while we migrate to a new platform.
You will still be able to read posts and knowledge articles, but will be unable to post new content until Go Live on the new platform Monday August 17.
Lennar Smart Home customers: please contact [email protected] for assistance during the week of August 9-17.
08-05-2021 04:54 AM
Hi Guys,
I am getting a 500 error on updating the port name on the ruckus ICX switch using API calls.
Response from the API :
{"timestamp":1628163014255,"path":"/switchm/api/v8_1/portSettings/abcd2-db4f-4e54-bea7-c8d7109efrca/","status":500,"error":"Internal Server Error","message":null}
I am using the portSettings method mentioned in the above documentation.
Sample code:
$url = 'https://IP/switchm/api/v8_1/portSettings';
$data_array = array(
'portName'=> 'TestName'
);
$url = $url."/$portId/?serviceTicket=$serviceTicketId";
callAPI('PUT', $url, json_encode($data_array));
I am making a curl request using the PUT method.
I am able to fetch the port listing but not able to update the name of any port.
Please suggest.
Solved! Go to Solution.
08-06-2021 02:09 PM
Hi Amar,
Hope you are doing great!!!
This looks like it's using REST API through the SZ and not directly with the ICX.
Please open this question on Smartzone Forum.
Hope this helps.
Best Regards
Thanks
Hashim
