Campaign Standard Error : No match in backends for the given tenant id
This article addresses the issue when a customer enters the wrong Tenant Id in the URL used for the POST request. The resolution involves using curl -H “Authorization: Bearer (your access token)” in Postman with Authorization.
Description description
Environment
Adobe Campaign Standard
Issue/Symptoms
When you try to make a post request for the transactional messaging feature, you get the following error:
{“error_code”:“400051”,“message”:“No match in backends for the given tenant id.”}
Sample URL used for post request:
https://mc.adobe.io/instance.campaign.adobe.com/campaign/xxxxxx/EVTinveonTestEventProduction
Resolution resolution
Cause:
This Error usually comes when you enter the wrong Tenant Id in the URL used for the POST request.
For example in the below URL instancename.campaign.adobe.com is the place for tenant ID.
https://mc.adobe.io/instancename.campaign.adobe.com/campaign/mcxxxxx/EVTinveonTestEventProduction
Resolution:
To check the tenant ID, you must use:
curl -H “Authorization: Bearer (your access token)”
https://ims-na1.adobelogin.com/ims/profile/v1
You can use the same URL for request type GET in Postman with Authorization: Bearer (your access token) as a parameter in the header.
From the Result, search for tenant_id
For example - tenant_id: xxxxx.
Hence you should only use xxxx as tenant id in their URL for Post requests.
https://mc.adobe.io/instancename/campaign/mcxxxxx/EVTinveonTestEventProduction