I have created a MC application (Component Type: API Application) so I can insert Subscribers into a Journey using API event.

Here is the scope enter image description here

So I am stuck at the first hurdle, which is trying to authenticate. On the app detail page it provides "Authentication Base URI" which I have used to send my authentication request with the clientID and clientSecret inside the payload, however the server responds with "596 Service Not Found".

I'm not sure what I'm doing wrong, I've noticed the app status is "In Development", I'm not sure if this has something to do with it but I cant see how to publish it.

My payload looks like this...

curl -X POST \
  https://mcgg0286b-adfdgrttrtrhhfgh.auth.marketingcloudapis.com \
  -H 'Content-Type: application/json' \
  -H 'cache-control: no-cache' \
  -d '{
    "clientId": "asfwerwer12323",
    "clientSecret": "asdfasf32432432"

So it turns out I've only hit the domain but not the correct resource.

I appended /v2/token to the URL and used parameters set out in this page.

| improve this answer | |
  • Are you using the most recent version of the SDK that added support for oAuth 2.0? – EazyE Jun 2 '19 at 1:37

Authentication and Triggered Send API are different. I was getting the same issue and after correcting i was able to resolve it. Please see the URLs below:

Auth URL =https://<>.auth.marketingcloudapis.com/v2/token

Triggered Send URL=https://<>.rest.marketingcloudapis.com/messaging/v1/messageDefinitionSends/key:xxxxx/send

| improve this answer | |

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.