Bad Parameter error on SOAP requestCampaign call | Community
Skip to main content
October 13, 2014
Solved

Bad Parameter error on SOAP requestCampaign call

  • October 13, 2014
  • 3 replies
  • 1269 views
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.
Best answer by
Got it working, had to add the line of code outlined in red.

3 replies

Kenny_Elkington
Adobe Employee
Adobe Employee
October 13, 2014
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.
October 22, 2014
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.
Accepted solution
October 29, 2014
Got it working, had to add the line of code outlined in red.