Error when Restoring Complex Agent

32 views
Skip to first unread message

Max Forsey

unread,
Jun 15, 2022, 2:19:08 PM6/15/22
to Dialogflow CX Edition users
Hello,

I am working with a fairly complex agent and am trying to restore it to a new agent. I have tried to restore it locally and through google cloud storage. The first few lines of the error seem to be about an entity but I am not sure what it is referring to. Here is the full error:

Entity with key IntentTrainingPhrasKey{agentId=3bb15e1e-134d-4eb6-b898-496212638ba8, intentId=00000000-0000-0000-0000-000000000000, lang=en-us} has pending operation CREATE, cannot apply operation CREATE. If you think this is a valid use-case, email gorm-eng@ at com.google.storage.gorm.internal.ReadWriteEntityStateManager.throwIllegalStateTransition(ReadWriteEntityStateManager.kt:501) at com.google.storage.gorm.internal.ReadWriteEntityStateManager.access$throwIllegalStateTransition(ReadWriteEntityStateManager.kt:45) at com.google.storage.gorm.internal.ReadWriteEntityStateManager$canonicalizeCreate$updatedState$1.invoke(ReadWriteEntityStateManager.kt:202) at com.google.storage.gorm.internal.ReadWriteEntityStateManager$canonicalizeCreate$updatedState$1.invoke(ReadWriteEntityStateManager.kt:197) at com.google.storage.gorm.internal.ReadWriteEntityStateManager$updateCanonicalState$1.apply(ReadWriteEntityStateManager.kt:487) at com.google.storage.gorm.internal.ReadWriteEntityStateManager$updateCanonicalState$1.apply(ReadWriteEntityStateManager.kt:486) at java.base/java.util.HashMap.compute(Unknown Source) at com.google.storage.gorm.internal.ReadWriteEntityStateManager.updateCanonicalState(ReadWriteEntityStateManager.kt:486) at com.google.storage.gorm.internal.ReadWriteEntityStateManager.canonicalizeCreate(ReadWriteEntityStateManager.kt:197) at com.google.storage.gorm.internal.ReadWriteEntityStateManager.canonicalizeCreates(ReadWriteEntityStateManager.kt:189) at com.google.storage.gorm.internal.ReadWriteUnitOfWork.createWithKeys(ReadWriteUnitOfWork.kt:125) at com.google.storage.gorm.InternalCreateWithKeysRequest.dispatch(InternalRequest.kt:91) at com.google.storage.gorm.InternalCreateRequest$Immediate$Companion.dispatch(InternalRequest.kt:54) at com.google.storage.gorm.InternalCreateRequest$Immediate.dispatch(InternalRequest.kt) at com.google.storage.gorm.future.FutureEntityManager.create(FutureEntityManager.java:37) at

SCR-20220614-gpl.png

Eduardo Ortiz Caraveo

unread,
Jun 16, 2022, 10:39:36 AM6/16/22
to Dialogflow CX Edition users
Your case seems to be more complex for this group since this seems like an issue that you are only facing, what I would recommend you is that you post this case on google support so with this an agent could replicate your issue and tell you what is going or, else you could raise an issue tracker so you can receive a proper help from an agent.

Svetlana Pastukhova

unread,
Jun 17, 2022, 8:35:39 PM6/17/22
to Dialogflow CX Edition users
Could you please try to add the en-us locale to your new target agent and then try to restore the original agent to the new one. If you have more locales, you may need to add them to the new target agent as well. 

If this workaround works for you, you may need to use it until the issue is fixed.

Reply all
Reply to author
Forward
0 new messages