Correct syntax for GenieACS "download" API needed Urgently

Hello Friends,

We are trying to implement GenieACS “download” task API. We are getting below error in UI:-

faultCode: “9003”
faultString: Invalid arguments
setParameterValuesFault: null

Using our tool, we are doing a POST as below:-
URL - http://ACS_IP:7557/devices/A4D4B2-PUMA-012112333/tasks?timeout=3000&connection_request
Body:-
{
“name”: “download”,
“file”: “tr069.xml”
}

Can anyone inform what is the correct usage for “download” API and help us resolve this error.

Thanks in advance,
H

http://docs.genieacs.com/en/latest/search.html?q=download&check_keywords=yes&area=default

Hi Akcoder,

Thanks for your response but as you can see we are sending our API request as per the documentation link you have provided. The API response is “Invalid arguments”.

We have implemented all GenieACS task APIs. Only “download” API is giving us syntax error.

Any help to will be appreciated.

Does the file tr069.xml exist in the file section of the ACS with the correct file type? 9000 series errors are CPE errors. Check the logs on the device for more info.

Thanks for your prompt response,

Yes, tr069.xml file exists in device ACS section. Given below is Device ACS screen shot:-

I also checked MongoDB and tr069.xml file exists.

Meanwhile, I’ll check device logs.

Hi,
did you defined the GENIEACS_FS_HOSTNAME and GENIEACS_FS_PORT in the .env file ? if they are not or if they are invalid, you found the problem.

Hi,

Thanks for your response. We did have that configuration in .env file.

Could you please share below information:-

  1. What syntax is correct for invoking the API.
  2. If you have implemented the download task API then could please show us how to do it.

Any help will be great.

Thanks in advance.

what do you have defined in .env for these two settings?

GENIEACS_FS_HOSTNAME=“our server hostname”
GENIEACS_FS_PORT=7567

try with the IP of the server for GENIEACS_FS_HOSTNAME