I am getting this strange error: No DesignTimeAgent found. This happens on the EU2 region, with an paid Dialogflow account. If I try to export / import into the US region, this problem does not exist.
It is a no brainer to switch to US region.
Somebody knowing what I am doing wrong?
Code:
$intentsClient = new IntentsClient([
'credentials' => storage_path('auth/<project-id>.json'),
]);
$parent = $intentsClient->agentName("<project-id>");
$intents = $intentsClient->listIntents($parent);
Google\ApiCore\ApiException
{
"message": "com.google.apps.framework.request.NotFoundException: No DesignTimeAgent found for project '<project-id>'.",
"code": 5,
"status": "NOT_FOUND",
"details": []
}
at vendor/google/gax/src/ApiException.php:139
Of course is in my code replaced with the corresponding project.