You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I changed the post request routine as following : PostRequest("https://dialogflow.googleapis.com/v2/projects/my_project_name/agent/sessions/34563:detectIntent", my_token_from_previous_steps)); and also in the bottom as described in the video. But, when running the example in unity i get the following 03 outputs :
################################################
{
"queryInput": {
"audioConfig": {
"audioEncoding": 0,
"sampleRateHertz": 0,
"languageCode": "",
"phraseHints": []
}
},
"inputAudio": ""
}
UnityEngine.Debug:Log(Object)
d__2:MoveNext() (at Assets/NewScript.cs:38)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
NewScript:Start() (at Assets/NewScript.cs:18)
################################################
400
UnityEngine.Debug:Log(Object)
d__2:MoveNext() (at Assets/NewScript.cs:51)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
################################################
HTTP/1.1 400 Bad Request
UnityEngine.Debug:Log(Object)
d__2:MoveNext() (at Assets/NewScript.cs:52)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
################################################
The mentionned lines from the NewScript.cs script are :
18 : calling the PostRequest(
38 : Debug.Log(jsonRequestBody);
51 : Debug.Log(postRequest.responseCode);
52 : Debug.Log(postRequest.error);
I'm using unity 2019.3.7f1 in Windows10-x64, and i followed the tutorial step by step, could you help please ?
Thank you,
The text was updated successfully, but these errors were encountered:
Hello,
The error comes after the step 5 of the tutorial uniFlow: Dialogflow V2 Unity Plugin Prototype : https://itp-xstory.github.io/uniFlow/#step5
I changed the post request routine as following : PostRequest("https://dialogflow.googleapis.com/v2/projects/my_project_name/agent/sessions/34563:detectIntent", my_token_from_previous_steps)); and also in the bottom as described in the video. But, when running the example in unity i get the following 03 outputs :
################################################
{
"queryInput": {
"audioConfig": {
"audioEncoding": 0,
"sampleRateHertz": 0,
"languageCode": "",
"phraseHints": []
}
},
"inputAudio": ""
}
UnityEngine.Debug:Log(Object)
d__2:MoveNext() (at Assets/NewScript.cs:38)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
NewScript:Start() (at Assets/NewScript.cs:18)
################################################
400
UnityEngine.Debug:Log(Object)
d__2:MoveNext() (at Assets/NewScript.cs:51)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
################################################
HTTP/1.1 400 Bad Request
UnityEngine.Debug:Log(Object)
d__2:MoveNext() (at Assets/NewScript.cs:52)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
################################################
The mentionned lines from the NewScript.cs script are :
18 : calling the PostRequest(
38 : Debug.Log(jsonRequestBody);
51 : Debug.Log(postRequest.responseCode);
52 : Debug.Log(postRequest.error);
I'm using unity 2019.3.7f1 in Windows10-x64, and i followed the tutorial step by step, could you help please ?
Thank you,
The text was updated successfully, but these errors were encountered: