cancel
Showing results for 
Search instead for 
Did you mean: 

Upload DPSK file via API met error

is_trouser
New Contributor III

It shows like below:

{
    "message""DPSK upload file fail, an unexpected error occurred.",
    "errorCode"0,
    "errorType""Internal server error"
}
 
The DPSK file is the one I exported from web console. I can import it to Zone on the web console. I don't know why it didn't work via API?
1 ACCEPTED SOLUTION

Parik_MN
RUCKUS Team Member

Hello @is_trouser

 

Follow the steps mentioned below in the screen shot, this is an example of uploading CSV using POSTMAN:

Use the following URL to POST: https://<vSZ_IP>:8443/wsg/api/public/v11_0/rkszones/<Zone_ID>/wlans/<WLAN_ID>/dpsk/upload

 

Parik_MN_1-1660664761603.png

 

1. Navigate and click on BODY tab.

2. Choose option "form-data".

3.  Under Key Column, click on file drop down menu.

4. Choose option "file" from drop down menu.

5. Under Value column, click on "select-files" and choose the CSV file.

6. Under Key Column, type in "file" as a Key Value.

7. Hit send, if all the CSV data are valid, vSZ should accept the file and create DPSKs.

 

Regards,

Parik

 

View solution in original post

6 REPLIES 6

Parik_MN
RUCKUS Team Member

Thanks @is_trouser, that's very helpful. Many thanks for the update.

 

Regards,

Parik

is_trouser
New Contributor III

@Parik_MN  I added a notice about CSV file format at the end of my post just now. Please pay attention.