becaause this is the error when i try to access it {"message":"The requested route was not found. Please refer to the API docs and try again.","code":404,"type":"general_route_not_found","version":"1.4.5"}
The endpoint /v1 is not used itself but all of the endpoints that are in use all have the /v1 prefix
If you're using it with Flutter, this should explain it better and in more detail https://appwrite.io/docs/quick-starts/flutter
should i put some data first and http://my_ip/v1 is accessable or should i just put http://my_ip for my endpoint
The endpoint should be http://my_ip/v1 but you will want to create databases and collections through the console at http://my_ip
yes but i already created a database but still my endpoint is inaccesable
You need to use a different endpoint if you're trying to access a database https://appwrite.io/docs/references/cloud/server-rest/databases
The docs explains how to access databases and get data from them through the different endpoints
still not solve my problem. how come the other can access the appwrite given endpoint but i cant
the appwrite given endpoit should be accessible right or its there a setting for it
What is the full endpoint that you are trying to access? The endpoint will be slightly different depending on what specific data you are trying to access
http://192.168.1.104/v1 this given endpoint i want it to be accessible
The response you got is from Appwrite so the endpoint is accessible. The problem is that the endpoint isn't designed to provide any data, you need to use an endpoint like http://192.168.1.104/v1/databases/{databaseId}/collections/{collectionId}/documents
to get access to the data
but how come my companion can access it by clicking on it and he can be directed to his appwrite project in chrome but i cant did i miss some settings
if i put v1 it gives error
but if just put http://192.168.1.104/ it accesible
Mine works the same as yours does, it sounds like you've got it setup correctly
The endpoint should have v1
To access console it should be excluded
Hi! Ialso have the same problem.
I am following a tutorial and when they use endPoint = 'http://localhost:80/v1' it works. When I click on it it gives the same error mentioned below
Hey /v1 is not a valid endpoint
thats why it says route not found.
It's expected behaviour.
/v1 is the endpoint for the API to work. In other words it's what you should specify to your app SDK to work. If you try to go there without specifying anything directly through your browser it will not work since you're not requesting anything there.
Main domain without anything will go to /console who is the user interface where you manage everything
@pitchar Can I mark this as solved?
Recommended threads
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...
- Sign In With Apple OAuth Help
Hi All! I've got a flutter & appwrite app which Im trying to use sign in with apple for. I already have sign in with google working and the function is the sam...