Create List API Error-"Campaign does not exist" SOLVED
Posted: Fri Mar 06, 2015 6:15 pm
Hello, First I'd like to say this is one amazing community. The fact that untill now I had not needed to post shows how much involvement everyone has.
I'm having a very frustrating issue. I am attempting to utilize the non agent api. My use is to automatically update our clients on updates from our crm with voice broadcast. So I tried first to just test resetting a list
I tried this
/vicidial/non_agent_api.php?source=test&user=XXXX&pass=XXXX&function=update_list&list_id=501&delete_leads=Y
and it returend list not found, although I know the list exist and its name is proper
ERROR: update_list LIST DOES NOT EXIST: |XXXX|501
So just for testing I tried to create a list.
/vicidial/non_agent_api.php?source=test&function=add_list&user=XXXX&pass=XXXX&list_id=1101&list_name=Test+API+list&campaign_id=PSLS
I get this.
ERROR: add_list CAMPAIGN DOES NOT EXIST: |XXXX|PSLS
What am I overlooking. I know the campaign and list both exist, this happens regardless of campaig nor list i try to change. I have not tested other api code.
This has had me going crazy for a while.
I enabled non agent api access for the user, and for testing enabled all the options except the ones that limited the user, I even checked the db for the user incase there were fields unavailable.
I do not understand why it returns that the list and campaign do not exist. Does anyone have any experience in this?
I totally cannot remember the required system stats to post, I see them all the time and now I just cant remember. But I did build the system from goautodial ce 3.3
I'm having a very frustrating issue. I am attempting to utilize the non agent api. My use is to automatically update our clients on updates from our crm with voice broadcast. So I tried first to just test resetting a list
I tried this
/vicidial/non_agent_api.php?source=test&user=XXXX&pass=XXXX&function=update_list&list_id=501&delete_leads=Y
and it returend list not found, although I know the list exist and its name is proper
ERROR: update_list LIST DOES NOT EXIST: |XXXX|501
So just for testing I tried to create a list.
/vicidial/non_agent_api.php?source=test&function=add_list&user=XXXX&pass=XXXX&list_id=1101&list_name=Test+API+list&campaign_id=PSLS
I get this.
ERROR: add_list CAMPAIGN DOES NOT EXIST: |XXXX|PSLS
What am I overlooking. I know the campaign and list both exist, this happens regardless of campaig nor list i try to change. I have not tested other api code.
This has had me going crazy for a while.
I enabled non agent api access for the user, and for testing enabled all the options except the ones that limited the user, I even checked the db for the user incase there were fields unavailable.
I do not understand why it returns that the list and campaign do not exist. Does anyone have any experience in this?
I totally cannot remember the required system stats to post, I see them all the time and now I just cant remember. But I did build the system from goautodial ce 3.3