Always return No DesignTimeAgent found (even using the prebuilt agent template) when testing with detectIntent API in DialogFlow using "Try this API". The API I tried is "projects.agent.sessions.detectIntent".
The session parameter is "projects/dialogflow-293106/agent/sessions/123123123"
and request body is:
{ "queryInput": { "text": { "text": "hi", "languageCode": "en" } } }
The following error returned:
{ "error": { "code": 404, "message": "com.google.apps.framework.request.NotFoundException: No DesignTimeAgent found for project 'dialogflow-293106'.", "status": "NOT_FOUND" } }