I'm unable to connect to a freestanding instance of marketing cloud via API using XML. Getting 'invalid username, password, security token or locked out' error. the username, password and account are good, however I see no way to acquire the security token. We've reset passwords, created new users and no luck. The client does not have support services that include API, so no help there. Is the Security only applicable for accounts integrated with sales/service cloud? is there another way to connect with XML?

2 Answers 2


I am not aware of Marketing cloud but check the profile and see if you have any IP login ranges present. If yes, then you do not need a security token to login to salesforce and it won't be available under your name->My Settings->security token where it usually is when IP ranges are not set. enter image description here

  • There are no IP login ranges, and the MC dashboard does not have the string a my settings > security token. i've scoured the user profiles and admin tabs, nothing about a token. Any other thoughts?
    – user46347
    Jun 22, 2017 at 12:59

Common pitfalls when connecting to the SOAP-API are:

  • You are using the wrong endpoint, that isn't the one for your instance/stack.
  • Your user doesn't have the "API User" property enabled

Further information:

  • We're using the correct endpoint and stack- is this an account enablement issue?
    – user46347
    Jun 22, 2017 at 13:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .