Bad Parameter error on SOAP requestCampaign call | Community
Skip to main content
October 13, 2014
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
October 29, 2014
Got it working, had to add the line of code outlined in red.

3 replies

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