Are you interested in our Early Access Program (EAP)? This program allows you to preview code, test in your lab and provide feedback prior to General Availability (GA) release of all Infoblox products. If so, please click the link here.

API Examples

Reply

CSV Export error using WAPI

Member
Posts: 1
882     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

Member
Posts: 1
883     0

I am getting this error as well.

Re: CSV Export error using WAPI

Moderator
Moderator
Posts: 246
883     0

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

Re: CSV Export error using WAPI

Member
Posts: 1
883     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