failed to create local topic from POJO: common.exception.uniquecontraintviolationexception
- unable to add Flow Agent Actions to Topic Customer Experience Reviews
- Superbadge: Apex for Agentforce Implement custom solutions using Apex agent actions in Agentforce.
Failed to create local topic from POJO: common.exception.UniqueConstraintViolationException
I assume when you're following the directions, you're trying to add the agent actions from the Asset Library (ie, they already exist in the playground org).
Instead, go to Agentforce Assets, delete all of the pre-existing problem actions, and recreate them manually. They're only references to Flows, so you should be able to recreate them the same way. Once you create them manually as new actions and associate them with the topic, the task will succeed and clear
指示に従っているということは、アセットライブラリ(Playground組織に既に存在する)からエージェントアクションを追加しようとしているのだと思います。
代わりに、Agentforce Assets に移動し、問題となっている既存のアクションをすべて削除して、手動で再作成してください。これらはフローへの参照に過ぎないので、同じ方法で再作成できるはずです。新しいアクションとして手動で作成し、トピックに関連付けると、タスクは成功してクリアされます。
FYI - creating a thrid org and using Jordan's suggestion let me get past the first challenge finally. 参考までに、3 番目の組織を作成し、Jordan の提案を使用することで、最終的に最初の課題を乗り越えることができました。
Error “Failed to create local topic from POJO: Invalid orgId:
トピックが1つもない?
- Error “Failed to create local topic from POJO: Invalid orgId: GenAiLocalAssetsRepositoryServiceImpl” in Apex for Agentforce Superbadge
- why i am getting this error when i am adding agent actions to the customer review summary and even the topic is not been creating?? i am asking this regarding the Superbadge: Apex for Agentforce 1st challenge
have encountered the same issue
Tried creating the topic without adding Instructions and Actions.
Later have added the instructions to topic.
Then created all the actions with the help of Create new action button in topic ,by selecting Reference Action Type- FLOW, and selected below flows one after the other by keeping default names and api names
- Lookup Contact by Email
- Get Most Recent Booking by Contact
- Lookup Experience

