Hi Team, right now I'm trying to restore an agent using this method.
When I do it from the documentation It works, but when I do it from the curl Google provide, I get the same server response, but the restore doesn't happen.
Example:
Empty Bot
Executing from google documentation.
got 200 from server
And the chatbot was restored with just this test intent.
then I delete the same intent, and if I call again the method from the documentation will load again this test intent.
Now we are calling the curl, and when executing it, I got the same response format
but when reloading the bot, the restoration hasn't happened.
so server response from curl is telling me, the restoration was fine but when loading the bot, it is not.
Any suggestions?
Solved! Go to Solution.
yup, and that is correct. it creates a LONG TIME OPERATION. You have to check the output of that long-time operation to see why is the import failing: https://cloud.google.com/dialogflow/es/docs/how/long-running-operations
So once you call the import endpoint, you have to call the long-time operation that it returns to check the operation itself.