Einstein Chatbotのエラー


# There was a problem communicating with the bot. c2c.ChatbotApiException: Chatbot api https://bot-runtime-api.sfdc-chho0.svc.sfdcfc.net/v5.0.0/bots/0Xx5j000000HBHLCA4/sessions response code 500, response body Close

+ [Chat bot error of Code 500](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007OtmZw)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/c6658388-a558-57b0-67ff-f774c7aa5892.png)

:::note
Please check this article.

https://help.salesforce.com/s/articleView?language=en_US&id=000386445&type=1

In our case, we have IP Login Range to particular user and guest user. After removing these we were able to create new one and that doesn't throw error as above.

Reference Link: https://issues.salesforce.com/issue/a028c00000qPwyYAAS/no-agents-are-available-intermittent-message-when-trying-to-launch-a-chat-with-the-a-bot
:::

+ [i am setting up einstein chatbot and facing this error when i am trying to preview it "There was a problem communicating with the bot. c2c.Chatbot ApiException: Chatbot api https://bot-runtime-api.sfdc-5pakla.svc.sfdcfc.net/v5.3.0/bots/0XxPv0000000AnNKAU"](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007XIPdE)

----

+ [There was a problem communicating with the bot. c2c.ChatbotApiException: Chatbot api https://bot-runtime-api.sfdc-mchho0.svc.sfdcfc.net/v5.0.0/bots/0Xx5j000000HBHLCA4/sessions response code 500, response body.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007OtoTY)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/4df375aa-7b2f-2931-7bc4-446a15b956bb.png)

:::note
We got a solution for this from Salesforce support.

Under the Einstein bot home page we had to turn Einstein Bots off. Refresh the page. Confirm that it was off. Then turn the toggle back on. After it was back on we were able to generate session ids during text preview.

この問題については、Salesforce サポートから解決策を入手しました。

Einstein ボットのホームページでは、Einstein ボットをオフにする必要がありました。ページを更新。オフになっていることを確認します。次に、トグルを再びオンにします。再びオンにすると、テキスト プレビュー中にセッション ID を生成できるようになりました。
:::


# 未解決

+ [There was a problem building the bot configuration. Could not find invocable action of type flow for id 3005i0000011bbr](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007Pf20nSAB)
+ [ in chat bot but still the data is not store in bot training](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007PeeguSAB)
+ [Messaging Session don't close after status has ended](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007PzMkO)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/eee83f09-c5c2-529b-5051-624e95d71508.png)

:::note
断続的に、エージェントが X[閉じる] ボタンを使用してチャットを閉じることができなくなります。
https://issues.salesforce.com/issue/a028c00000gAwplAAC/
:::

+ [Embedded Service Deployment - customize chat button with label](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007bLAB5)

もう新規作成できないから？

**関連資料**

+ [Bot - Why I can't enable logging conversations?](https://salesforce.stackexchange.com/questions/319111/bot-why-i-cant-enable-logging-conversations)
+ [Log Conversations in Bot Event Logs](https://help.salesforce.com/s/articleView?id=sf.bots_service_log_conversations.htm&type=5)