この事象は、主に以下のいずれかの原因により発生している可能性が考えられます。
「会話サービス API」が無効になっている: API が組織レベルで有効化されていない場合、エンドポイントが見つからず 404 が返されます 。
エンドポイントの URL が間違っている: リクエスト先のパスまたはバージョンが誤っていると、リソースが見つからず 404 が返されます 。
アクセストークン(JWT)の指定が誤っている: 認証情報に問題がある場合、API がアクセスを拒否する可能性があります 。
以下の手順を確認してください 。
会話サービス API の有効化確認
[設定] | [機能設定] | [サービス] | [会話サービス API] に移動し、[会話サービス API] のトグル状態を確認します。
この機能が組織で有効化されていることを確認してください 。
リクエスト先のエンドポイントを確認
使用しているエンドポイントが、API ドキュメントに記載されている正しい URL と一致していることを確認します 。
正しいエンドポイントの例: https://api.salesforce.com/platform/engagement/v1.0/conversation-participants
リクエストヘッダーの Authorization トークンを確認
リクエストヘッダーの Authorization フィールドに設定しているアクセストークン(JWT)に間違いが無いことを確認してください 。
トークンの生成および指定方法の詳細は、追加リソースのドキュメント「Delete a Conversation Participant」を参照してください 。
005232704

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.