A Marketing Cloud Engagement REST API call can return a 400 error that implies the target resource does not exist, even though the request contains no apparent errors.
Because a 400 error is generic and usually indicates a request problem, troubleshooting is time-consuming when you can't find an error in the request.
Check the BU specified when you requested the access token if all of the following conditions apply:
POST /v2/token) returns a successful response.messageId in the push send API, can't be found.When you request an access token, specify the Member ID (MID) of the BU where the target resource is registered in account_id. If the target resource is registered in a different BU, the API can return a 400 error. This error implies the resource doesn't exist, even when the request is correct.
Follow these steps to check and fix the issue:
account_id in the request body of the access token API (POST /v2/token) matches the MID of the BU from step 1.account_id.Important: The BU that you specify in account_id in step 3 must have Enable Integration enabled in the installed package. To check the integration status, open the Access tab of the installed package.
If Enable Integration isn't enabled, the access token API returns an invalid_client error (HTTP 401).
If these steps don't resolve the issue, contact Support. Include the full request and response, with client_secret and access_token masked.
005459645

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.