我正在努力将公司的电话系统与 Salesforce 集成,以便我们可以在通话录音中使用 Einstein Conversation Insights。我已经创建了 JWT 并且可以正确授权,但是当我尝试创建测试语音呼叫时,我收到以下 404 响应:
<table cellspacing=10>
<tr>
<td><span style="font-weight: bold; font-size: 12pt;">URL No Longer Exists</span></td>
</tr>
<tr>
<td>You have attempted to reach a URL that no longer exists on salesforce.com. <br/><br/>
You may have reached this page after clicking on a direct link into the application. This direct link might be: <br/>
• A bookmark to a particular page, such as a report or view <br/>
• A link to a particular page in the Custom Links section of your Home Tab, or a Custom Link <br/>
• A link to a particular page in your email templates <br/><br/>
If you reached this page through a bookmark, you are probably trying to access something that has moved. Please update your bookmark.
<br/>
<br/>If you reached this page through any of the other direct links listed above, please notify your administrator to update the link.
<br/><br/>If you reached this page through a link on our site, please <a href="/cases/logabug.jsp">report
the broken link directly to our Support Team</a> and we will fix it promptly. Please indicate the page
you were on when you clicked the link as well as any other related information. We apologize for the
inconvenience.
<br/><br/>Thank you again for your patience and assistance. And thanks for using salesforce.com!</td>
</tr>
</table>
我在 POST 请求中使用的端点/URL 是 https://myCompany.my.salesforce.com/services/telephony/v1/voiceCalls
我已成功查询其他端点,因此我认为问题不在于我的 JWT 或授权。正如我看到其他一些故障排除网站所建议的那样,我禁用了“为具有标准标题的客户 Visualforce 页面启用点击劫持保护”。我尝试了端点和 URL 的不同变体,但都没有成功。
电话 API 使用对话和路由服务,请尝试此端点:https://mycompany.my.salesforce-scrt.com/services/telephony/v1/voiceCalls。
顺便说一句,你是如何生成 jwt 的?
我也收到 403,但用于将呼叫后数据存储到端点 /telephony/v1/voiceCalls/{vendorCallKey}/postConversationEvents 这与 Amazon Connect Contact Lens 数据相关 - https://developer.salesforce.com/docs/atlas.en-us.voice_developer_guide.meta/voice_developer_guide/voice_rest_post-call_conversation_event.htm 遵循了所有文档但仍然得到 403?