API command "ADD_DEVICE" fails

API command "ADD_DEVICE" fails

When I run a powershell script to add a Cisco ASA firewall to Device expert(5950)  it fails with 3304 code. 

Also the GET_ALL_DEVICE_TYPES API does not work at all it returns code 3308 asking for an IP address.

Powershell script-------------------------------------------
$json = @"
    {"API_KEY":$API_KEY,"ACTION":"ADD_DEVICE","IPADDRESS":"192.168.1.1","DEVICE_TYPE":"CiscoASA"}
"@
$result = (Invoke-RestMethod -Uri $uri -Method Post -ContentType "application/json" -Body $json).response

$result
----------------------result------------------------
192.168.1.1                                                                                                                                                            
------------                                                                                                                                                             
3304 
-----------------------------------------------------

                New to ADManager Plus?

                  New to ADSelfService Plus?