Right now, i trying to send some basic HTML contained email in Salesforce Marketing cloud via FuelSDK by next lines:

ETEmail email = new ETEmail();
email.setName("Test Name");
email.setSubject("My line");

ETTriggeredEmail triggeredEmail = new ETTriggeredEmail();
triggeredEmail.setClient(session); // auth session given before
ETResponse<ETTriggeredEmail> send = triggeredEmail.send("grakovne@gmail.com");

But response of SOAP request is

    <CreateResponse xmlns="http://exacttarget.com/wsdl/partnerAPI">
      <Results xsi:type="TriggeredSendCreateResult">
        <StatusMessage>Invalid Customer Key</StatusMessage>

As far as i know, customerKey is 36 symbols string, so it could be UUID.

So, could someone say, what is wrong?

Thanks a lot!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.