Reply

CSV Export error using WAPI

New Member
Posts: 1
3664     0

Hi im trying to export the network list using Python but having error when opening the csv file. 

 

{ "Error": "AdmConProtoError: Unknown object type (httpsSmiley Happy"
  "code": "Client.Ibap.Proto"
  "text": "Unknown object type (httpsSmiley Happy"
}


if I try downloading the url file that the API gives me using a browser, im getting this message:

i.e
https://<server>/http_direct_file_io/req_id-DOWNLOAD-0605062654481043/Networks.csv'

Unsupported Media Type

The supplied request data is not in a format acceptable for processing by this resource.


Any idea how to fix this? Thanks in advance!

Regards,
John

Re: CSV Export error using WAPI

New Member
Posts: 1
3665     0

I am getting this error as well.

Re: CSV Export error using WAPI

Moderator
Moderator
Posts: 315
3665     0

If you could, please post a code excerpt for your CSV export actions.

Re: CSV Export error using WAPI

New Member
Posts: 1
3665     0

I had the same issue and resolved it by ensuring the Content-Type header was this:

 

content-type: application/force-download

__PRESENT

Showing results for 
Search instead for 
Did you mean: 

Recommended for You