Comments (8)
@marialulu
As you may know, 400 Bad Request
is caused by the client-side.
Mostly, using invalid endpoints(missing parameter or token info, etc) or cookies issue.
I recommend you to check the endpoints you're using works on a web browser.
from uniflow.
Yes, you are right. It came out to be an error when I run the endpoints on a web browser. Then I tried the endpoint in the video and there was still an error. Do you guys know what may cause this problem? My terminal said "Your Google Cloud SDK is configured and ready to use!", I got the token and the project ID was copied from Dialogflow console. I'm confused...
from uniflow.
you can try the API with your cred.
https://cloud.google.com/dialogflow/docs/reference/rest/v2-overview
If you get an error, probably you may select a wrong role.
https://dialogflow.com/docs/reference/v2-auth-setup.
If your cred works properly, uniFlow itself has an issue like need more parameters which means you need to modify the codebase.
from uniflow.
Thank you for your patience. Now the error is 401 unauthorized... Do you have a clue?
from uniflow.
@marialulu you mean with Google api test tool or with unity?
anyways, 401 means your cred is something wrong.
you should follow this, https://dialogflow.com/docs/reference/v2-auth-setup
from uniflow.
Itβs in Unity. Sorry to behave like an idiot!
from uniflow.
As I wrote, 401 is your cred's issue.
can you follow the above link and try your cred with google's api test tool?
the endpoints uniFlow uses are the followings.
https://github.com/ITP-xStory/uniFlow/blob/master/Assets/Plugins/DialogflowAPIScript.cs#L17
https://github.com/ITP-xStory/uniFlow/blob/master/Assets/Plugins/DialogflowAPIScript.cs#L66
from uniflow.
Thank you I will do!
from uniflow.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uniflow.