{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"Incremental Activationのトラブルシューティング","description":"Incremental Activationのトラブルシューティングガイド。一般的な問題と解決策を提供し、ワークフローの正確な差分エクスポートを支援します。","siteUrl":"https://docs.treasure.ai","lang":"en-US","jsonLd":{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.treasure.ai/","name":"Treasure AI","url":"https://www.treasure.ai/","logo":"https://www.treasure.ai/hubfs/assets/images/logos/primary-logo.svg"},{"@type":"WebSite","@id":"https://docs.treasure.ai/#website","name":"Treasure AI Documentation","url":"https://docs.treasure.ai/","inLanguage":["en","ja"],"publisher":{"@id":"https://www.treasure.ai/"}}]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"incremental-activationのトラブルシューティング","__idx":0},"children":["Incremental Activationのトラブルシューティング"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Incremental Activationはベータ版のリリースです。詳細については、カスタマーサクセス担当者にお問い合わせください。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["このガイドは、Incremental Activationワークフローを使用する際の一般的な問題を診断および解決するのに役立ちます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"一般的な問題","__idx":1},"children":["一般的な問題"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"duplicate-id-keyエラーでワークフローが失敗する","__idx":2},"children":["「Duplicate ID Key」エラーでワークフローが失敗する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["症状"]},": ワークフローの実行中に、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id_key"]},"列に重複した値があることを示すエラーメッセージで失敗します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["原因"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id_key"]},"として指定された列に一意でない値が含まれているため、正確な差分計算ができません。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["解決策"]},":"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["次のクエリを実行して、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id_key"]},"列に一意の値のみが含まれていることを確認します。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"sql","header":{"controls":{"copy":{}}},"source":"SELECT id_key_column, COUNT(*) as count\nFROM your_database.your_table\nGROUP BY id_key_column\nHAVING COUNT(*) > 1\n","lang":"sql"},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["重複が存在する場合は、次のいずれかを実行します。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["一意であることが保証されている別の列を選択します(例:",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_customer_id"]},")"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["一意性を確保するためにソースデータをクリーンアップします"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["複合キーアプローチを使用します(ガイダンスについてはサポートにお問い合わせください)"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ワークフローの",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id_key"]},"パラメータを一意の列名で更新します。"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"差分の代わりに完全エクスポートが実行される","__idx":3},"children":["差分の代わりに完全エクスポートが実行される"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["症状"]},": すべてのアクティベーションが、差分変更のみではなくセグメント全体をエクスポートします。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["考えられる原因"]},":"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["初回実行"]},": 初回のワークフロー実行では、常にベースラインを確立するために完全エクスポートが実行されます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Delta Keyの変更"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id_key"]},"または",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["delta_keys"]},"パラメータを変更すると、ワークフローは完全エクスポートをトリガーします。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["履歴テーブルの削除"]},": ワークフローの履歴テーブルが手動で削除またはクリアされました。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ワークフロー名の変更"]},": ワークフロー名を変更すると、履歴のない新しいワークフローインスタンスが作成されます。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["解決策"]},":"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["初回実行の場合"]},": これは期待される動作です。後続の実行では、差分のみがエクスポートされます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["パラメータ変更の場合"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id_key"]},"または",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["delta_keys"]},"を変更した後、1回の完全エクスポートが必要です。この実行を期待されるものとしてマークし、後続の実行を監視してください。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["履歴削除の場合"]},": 履歴テーブル(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cdp_audience_{id}"]},"データベース内)が削除された場合、次回の実行時に再作成されます。1回の完全エクスポートが必要です。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ワークフロー名変更の場合"]},": ワークフローの名前変更は避けてください。必要な場合は、変更後に1回の完全エクスポートが行われることを想定してください。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"セグメントが変更されているにもかかわらず差分レコードが送信されない","__idx":4},"children":["セグメントが変更されているにもかかわらず、差分レコードが送信されない"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["症状"]},": セグメントに新規または変更されたプロファイルがありますが、ワークフローは宛先に送信されたレコード数を0と報告します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["考えられる原因"]},":"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Activation Mappingsが設定されていない"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["activation_mappings"]},"に、期待する差分ステータスが含まれていません。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Delta Keysが変更を捕捉していない"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["delta_keys"]},"の列に、変更された属性が含まれていません。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ID Keyの不一致"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id_key"]},"が実行間で一致しません(例:一部のメールが変更されたときにメールを使用)。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["解決策"]},":"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["アクティベーションマッピングを確認"]},": 期待されるすべての差分ステータスのマッピングがあることを確認します。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"activation_mappings: [\n  {\"delta_status\": \"new\", \"connector_field\": \"mode\", \"connector_field_value\": \"append\"},\n  {\"delta_status\": \"updated\", \"connector_field\": \"mode\", \"connector_field_value\": \"append\"}\n]\n","lang":"yaml"},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["delta keysを確認"]},": 変更された列を",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["delta_keys"]},"に追加します。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"delta_keys: [\"status\", \"tier\", \"email\", \"phone\"]\n","lang":"yaml"},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ID keyの安定性を確認"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id_key"]},"列の値が実行間で変更されないことを確認します。"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"unsupported-modeエラーでコネクタが失敗する","__idx":5},"children":["「Unsupported Mode」エラーでコネクタが失敗する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["症状"]},": ワークフローは差分計算を完了しますが、サポートされていないモードまたは操作に関するエラーで結果エクスポート中に失敗します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["原因"]},": コネクタが、アクティベーションマッピングで指定された",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["connector_field_value"]},"をサポートしていません。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["解決策"]},":"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["サポートされている操作については、コネクタのドキュメントを確認してください。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["一部のコネクタは",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["append"]},"のみをサポート"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["一部は",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["delete"]},"または",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["remove"]},"をサポートしていません"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["フィールド名はコネクタによって異なります(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["mode"]}," vs ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["operation"]}," vs ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["action"]},")"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["activation_mappings"]},"をサポートされている値を使用するように更新します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["例 - delete操作をサポートしていないコネクタ"]},":"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"# サポートされていない場合はdeleteマッピングを削除\nactivation_mappings: [\n  {\"delta_status\": \"new\", \"connector_field\": \"mode\", \"connector_field_value\": \"append\"},\n  {\"delta_status\": \"updated\", \"connector_field\": \"mode\", \"connector_field_value\": \"append\"}\n  # \"deleted\"マッピングを削除\n]\n","lang":"yaml"},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["機能が制限されているコネクタの場合、別のアクティベーションモードまたはコネクタの使用を検討してください。"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"apiエンドポイントエラー--404-not-found","__idx":6},"children":["APIエンドポイントエラー / 404 Not Found"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["症状"]},": ワークフローが404エラーまたは「endpoint not found」で即座に失敗します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["原因"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["api_endpoint"]},"パラメータがTreasure Dataサイトの場所と一致していません。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["解決策"]},":"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["TDサイトに合わせて",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["api_endpoint"]},"を更新します。"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"TDサイト"},"children":["TDサイト"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"正しいエンドポイント"},"children":["正しいエンドポイント"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["US"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://integrations-gateway.us01.treasuredata.com"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["EU"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://integrations-gateway.eu01.treasuredata.com"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Asia Pacific"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://integrations-gateway.ap02.treasuredata.com"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Japan"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://integrations-gateway.treasuredata.co.jp"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["修正例:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"_export:\n  params:\n    api_endpoint: \"https://integrations-gateway.eu01.treasuredata.com\"  # us01からeu01に変更\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"column-not-foundエラーでワークフローが失敗する","__idx":7},"children":["「Column Not Found」エラーでワークフローが失敗する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["症状"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id_key"]},"または",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["delta_keys"]},"で指定された列が存在しないことを示すエラーでワークフローが失敗します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["原因"]},": 列名のスペルが間違っているか、ソーステーブルに列が存在しません。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["解決策"]},":"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ソーステーブルの列名を確認します。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"sql","header":{"controls":{"copy":{}}},"source":"DESCRIBE your_database.your_table\n","lang":"sql"},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["正確な列名(大文字小文字を区別)でワークフローパラメータを更新します。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"id_key: \"td_customer_id\"  # テーブルスキーマからの正確な名前\ndelta_keys: [\"subscription_status\", \"loyalty_tier\"]  # 正確な名前\n","lang":"yaml"},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Activation Actionとして実行している場合は、セグメント出力がOutput Mappingに必要な列を含んでいることを確認します。"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"アクティベーションされたプロファイル数が正しくない","__idx":8},"children":["アクティベーションされたプロファイル数が正しくない"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["症状"]},": 送信されたプロファイル数が期待と一致しません(多すぎるか少なすぎる)。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["考えられる原因"]},":"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Delta Keysが敏感すぎる"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["delta_keys"]},"に列が多すぎて、ほとんどのプロファイルが「更新済み」とマークされています。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Delta Keysが十分に敏感でない"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["delta_keys"]},"に重要な列が欠けており、実際の変更が見逃されています。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["マッピングロジックエラー"]},": アクティベーションマッピングが意図した動作と一致していません。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["解決策"]},":"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["差分の感度をテスト"]},": テストクエリを実行して、変更されたとマークされるプロファイルの数を確認します。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"sql","header":{"controls":{"copy":{}}},"source":"SELECT\n  COUNT(*) as total_profiles,\n  SUM(CASE WHEN status_changed THEN 1 ELSE 0 END) as changed_profiles\nFROM your_table\n","lang":"sql"},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["delta keysを調整"]},": どの変更が再アクティベーションをトリガーするかに基づいて、列を追加または削除します。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"# 敏感すぎる - すべてのプロファイル変更が更新をトリガー\ndelta_keys: [\"last_login\", \"last_page_view\", \"session_count\"]\n\n# より良い - 意味のある変更のみが更新をトリガー\ndelta_keys: [\"subscription_tier\", \"email_opt_in\"]\n","lang":"yaml"},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["アクティベーションログを確認"]},": ワークフロー実行ログを確認して、差分ステータスの内訳を確認します。"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"permission-deniedエラー","__idx":9},"children":["Permission Deniedエラー"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["症状"]},": データベース、テーブル、またはコネクタにアクセスする際に「permission denied」でワークフローが失敗します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["原因"]},": ワークフローを実行しているユーザーに必要な権限がありません。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["解決策"]},":"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ワークフロー権限"]},": ワークフローに、アクティベーション作成者のViewおよびRunアクセス権があることを確認します。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/control-panel/security/policies/workflow-permissions"},"children":["ワークフロー権限の設定"]},"を参照してください。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["データベース権限"]},": ユーザーが以下を持っていることを確認します。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ソースデータベースとテーブルへの読み取りアクセス"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cdp_audience_{id}"]},"データベースへの書き込みアクセス(履歴テーブル用)"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["コネクタ権限"]},": ユーザーが結果コネクタ認証にアクセスできることを確認します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["必要な権限を付与するには、TD管理者にお問い合わせください。"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"スタンドアロンワークフローの失敗---パラメータの欠落","__idx":10},"children":["スタンドアロンワークフローの失敗 - パラメータの欠落"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["症状"]},": スタンドアロンワークフローが",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["activation_actions_db"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["activation_actions_table"]},"、または接続パラメータの欠落に関するエラーで失敗します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["原因"]},": スタンドアロンワークフロー(Activation Actionとしてではなく)として実行する場合、これらのパラメータを手動で設定する必要があります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["解決策"]},":"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["スタンドアロンモードに必要なすべてのパラメータを追加します。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"_export:\n  params:\n    api_endpoint: \"https://integrations-gateway.us01.treasuredata.com\"\n    id_key: \"email\"\n    delta_keys: [\"status\", \"tier\"]\n    activation_mappings: [\n      {\"delta_status\": \"new\", \"connector_field\": \"mode\", \"connector_field_value\": \"append\"}\n    ]\n    # スタンドアロンモードに必要:\n    activation_actions_db: \"my_database\"\n    activation_actions_table: \"my_table\"\n    result_connection_name: \"my_connector_auth\"\n    result_connection_settings:\n      type: \"snowflake\"\n      database: \"TARGET_DB\"\n      schema: \"PUBLIC\"\n      table: \"TARGET_TABLE\"\n      mode: \"append\"\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"一貫性のない差分結果または状態の競合","__idx":11},"children":["一貫性のない差分結果または状態の競合"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["症状"]},": 差分計算が予期しない結果を生成し、新規、更新、または削除されたプロファイルの数が正しくありません。複数のワークフロー実行で一貫性のない動作または競合する状態が表示されます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["原因"]},": 同じソーステーブルに対して複数のワークフローが同時に実行されています。操作中にテーブルがロックされないため、同時実行ワークフローが互いの差分計算に干渉し、状態の競合につながる可能性があります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["解決策"]},":"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ワークフロースケジュールの確認"]},": 同じソーステーブルに対して同時に実行されるようにスケジュールされている複数のワークフローまたはアクティベーションがあるかどうかを確認します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["スケジュールの調整"]},": 特定のテーブルを一度に1つのワークフローのみで処理するようにします。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ワークフロースケジュールをずらして、同時ではなく順次実行するようにします"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["完了を確保するために、実行間に十分なバッファー時間を追加します"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["複数の関連ワークフローを実行する場合は、ワークフロー依存関係を使用します"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["例 - ずらしたスケジュール"]},":"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"table_1のワークフローA: 00:00に実行(約15分かかる)\ntable_1のワークフローB: 00:30に実行(安全、重複なし)\ntable_2のワークフローC: 00:00に実行(安全、異なるテーブル)\n"},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["実行の監視"]},": ワークフロー実行ログを使用して、ワークフローが重複していないことを確認します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ベストプラクティス"]},": 同じセグメントを複数の宛先にアクティベートする必要がある場合は、複数のアクティベーションマッピングを持つ単一のIncremental Activationワークフローを作成するか、並列ワークフローの代わりに順次アクティベーションアクションを使用します。"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"デバッグのヒント","__idx":12},"children":["デバッグのヒント"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"詳細ログを有効にする","__idx":13},"children":["詳細ログを有効にする"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ワークフローにログを追加して、差分計算を追跡します。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"+fetch_incremental_activation_wf:\n  http_call>: \"${params.api_endpoint}/integration_workflow/workflows/incremental_activation/fetch\"\n  # ... 残りの設定 ...\n\n+log_completion:\n  echo>: \"Incremental activation completed successfully\"\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"履歴テーブルを確認する","__idx":14},"children":["履歴テーブルを確認する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ワークフローは",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cdp_audience_{id}"]},"データベースに履歴テーブルを作成します。これらのテーブルをクエリして、差分計算に使用されたデータを理解できます。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"sql","header":{"controls":{"copy":{}}},"source":"-- 最後のアクティベーションスナップショットを表示\nSELECT * FROM cdp_audience_123.incremental_activation_history\nLIMIT 100\n","lang":"sql"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"小さなセグメントでテストする","__idx":15},"children":["小さなセグメントでテストする"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["本番環境にデプロイする前に:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["小さなテストセグメント(100〜1000プロファイル)を作成します"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["incremental activationワークフローを実行します"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["差分結果が期待と一致することを手動で確認します"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["徐々にセグメントサイズを増やします"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"ワークフロー実行ログを確認する","__idx":16},"children":["ワークフロー実行ログを確認する"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["TD Data Workbench"]}," > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Workflows"]},"に移動します"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Incremental Activationワークフローを開きます"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["最近の実行をクリックします"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["エラーメッセージと差分レコード数のログを確認します"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"サポートを受ける","__idx":17},"children":["サポートを受ける"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["問題が継続する場合:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["診断情報を収集"]},":"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ワークフロー設定(サニタイズ済み、認証情報なし)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ワークフローログからのエラーメッセージ"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["期待される動作と実際の動作"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["TDサイトの場所(US、EU、AP、JP)"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["サポートに問い合わせ"]},":"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Treasure コンソールからサポートチケットを送信"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["カスタマーサクセス担当者に連絡"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["収集したすべての診断情報を含める"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ベータフィードバック"]},":"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["これはベータ機能であるため、フィードバックは製品の改善に役立ちます"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["予期しない動作や機能リクエストをCSRに報告してください"]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"次のステップ","__idx":18},"children":["次のステップ"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/audience-studio/activation/incremental-activation-overview"},"children":["Incremental Activationの概要"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/audience-studio/activation/configure-incremental-activation"},"children":["Incremental Activationの設定"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/audience-studio/activation/incremental-activation-parameters"},"children":["Incremental Activationパラメータ"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/audience-studio/activation/incremental-activation-mappings"},"children":["Incremental Activationマッピング"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"関連トピック","__idx":19},"children":["関連トピック"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/audience-studio/activation/activation-actions"},"children":["Activation Actions"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/audience-studio/activation/activation-actions-parameters"},"children":["Activation Actionsパラメータ"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/data-workbench/workflows/getting-started-with-treasure-workflow"},"children":["ワークフローの作成と編集"]}]}]}]},"headings":[{"value":"Incremental Activationのトラブルシューティング","id":"incremental-activationのトラブルシューティング","depth":1},{"value":"一般的な問題","id":"一般的な問題","depth":2},{"value":"「Duplicate ID Key」エラーでワークフローが失敗する","id":"duplicate-id-keyエラーでワークフローが失敗する","depth":3},{"value":"差分の代わりに完全エクスポートが実行される","id":"差分の代わりに完全エクスポートが実行される","depth":3},{"value":"セグメントが変更されているにもかかわらず、差分レコードが送信されない","id":"セグメントが変更されているにもかかわらず差分レコードが送信されない","depth":3},{"value":"「Unsupported Mode」エラーでコネクタが失敗する","id":"unsupported-modeエラーでコネクタが失敗する","depth":3},{"value":"APIエンドポイントエラー / 404 Not Found","id":"apiエンドポイントエラー--404-not-found","depth":3},{"value":"「Column Not Found」エラーでワークフローが失敗する","id":"column-not-foundエラーでワークフローが失敗する","depth":3},{"value":"アクティベーションされたプロファイル数が正しくない","id":"アクティベーションされたプロファイル数が正しくない","depth":3},{"value":"Permission Deniedエラー","id":"permission-deniedエラー","depth":3},{"value":"スタンドアロンワークフローの失敗 - パラメータの欠落","id":"スタンドアロンワークフローの失敗---パラメータの欠落","depth":3},{"value":"一貫性のない差分結果または状態の競合","id":"一貫性のない差分結果または状態の競合","depth":3},{"value":"デバッグのヒント","id":"デバッグのヒント","depth":2},{"value":"詳細ログを有効にする","id":"詳細ログを有効にする","depth":3},{"value":"履歴テーブルを確認する","id":"履歴テーブルを確認する","depth":3},{"value":"小さなセグメントでテストする","id":"小さなセグメントでテストする","depth":3},{"value":"ワークフロー実行ログを確認する","id":"ワークフロー実行ログを確認する","depth":3},{"value":"サポートを受ける","id":"サポートを受ける","depth":2},{"value":"次のステップ","id":"次のステップ","depth":2},{"value":"関連トピック","id":"関連トピック","depth":2}],"frontmatter":{"seo":{"title":"Incremental Activationのトラブルシューティング","description":"Incremental Activationのトラブルシューティングガイド。一般的な問題と解決策を提供し、ワークフローの正確な差分エクスポートを支援します。"}},"lastModified":"2026-06-17T07:22:53.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/products/customer-data-platform/audience-studio/activation/troubleshooting-incremental-activation","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}