Skip to main content
Oct 13, 2014 4:30 PM UTC
Solved

Bad Parameter error on SOAP requestCampaign call

RESOLVED: I posted the fix in the replies section.

We're getting the "20114 - Bad parameter" error when calling requestCampaign.

NOTE: The other call we're using, syncLead, is working fine with a success return.  Also, RequestCampaign appears in the Activity Log for the lead despite the error.

We're passing the leadKey (e-mail), source, and campaignId.  I've stepped thru the code to verify these values are correct.  Here's the code (C#):
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Accepted solution
Oct 29, 2014 7:02 PM UTC
Got it working, had to add the line of code outlined in red.

3 replies

Kenny_Elkington
Adobe Employee
Adobe Employee
Oct 13, 2014 4:35 PM UTC
Hey John,

Can you give an example of example of generated XML which is giving this bad parameter error?  It's diffuclt to determine from trying to inerpret code.
Translate
Oct 22, 2014 4:31 PM UTC
Kenny,

That's extremely difficult the way our test environment is set up.  Are there any alternatives?

I've updated the OP with a screenshot of the code for a better understand.
Translate
Accepted solution
Oct 29, 2014 7:02 PM UTC
Got it working, had to add the line of code outlined in red.
Translate