同意API RESTエンドポイントとそのパラメータの詳細については、「Data Cloudでの同意APIの使用」を参照してください。
以下は、Data Cloudで同意APIを初めて使用するときによく発生するエラーの詳細です。
エラーメッセージ
"INVALID_ID_FIELD: individulaId [ID] が存在しません"
{
"results": {
"result": "Failure",
"errorCode": "PROBLEM_PROCESSING_REQUEST",
"errorMessage": "Problem processing request: INVALID_ID_FIELD: individualId [Individual ID] not exists."
}
}
解決策
プロファイルが最初に作成されたとき、プロファイルに対して作成されたデフォルトの同意データはありません。したがって、PATCH リクエストが個人ID に対して以前に実行されていない場合、GET 呼び出しは INVALID_ID_FIELD 例外を返します。GET リクエストを実行する前に、PATCH 呼び出しを行ってそのプロファイルの同意フラグを設定します。 たとえば、エンドポイント /services/data/v63.0/consent/action/processing?ids=A123&mode=cdp&status=optin への PATCH 呼び出しは、個人ID A123 が shouldforget に対して true 値で更新されたことを示す次の応答を返します。
{
"cdpResult": {
"A123": {
"result": "Success",
"shouldforget": true
}
}
}
その後、この個人IDに対して GET 呼び出しが行われると、現在の同意ステータスも返され、INVALID_ID_FIELD 例外は返されなくなります。
000397169

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.