We all started somewhere! Share your experience on the Get Advice: Let's Get Started Sweepstakes thread and be entered to win a $100 credit on your Constant Contact account.

Error with latest php wrapper and adding a campaign (please enter your organization name)

RFMSR
Occasional Participant

Error with latest php wrapper and adding a campaign (please enter your organization name)

When using the provided php wrapper even using the set example code I keep getting the following error:

 

Array
(
    [0] => stdClass Object
        (
            [error_key] => http.status.bad_request
            [error_message] => Please enter your organization name
        )

)

 

There isn't an organization name field anywhere and when I try adding org_name to it it says:

 

Array
(
    [0] => stdClass Object
        (
            [error_key] => json.field.invalid
            [error_message] => #/org_name: Property was found but is not permitted at this location.
        )

)
1 REPLY 1
RFMSR
Occasional Participant

I found the solution to this one for anyone else who encounters it.  The "Organization Name" field needs to be filled out in constant contact's settings page.

Developer Portal

View API documentation, code samples, get your API key.

Visit Page