The local IP address.. I checked that the ip added as endpoint works when accessing appwrite instance from a browser
But just the IP address and not /v1 unless that's needed ?
LAN IP?
You need the /v1. It should be https://[LAN IP]/v1
. Make sure to call client.setSelfSigned()
too
Do you have an Ubuntu server?
Let me test and confirm in 10 minutes
I can provision one in DO in 5 mins .. Why do you ask ?
No I'm trying to find out more information about your dev server
Oh na just a Dev windows desktop with docker desktop running appwrite .. Very basic
And you're using your LAN IP and not some private docker IP right?
LAN IP indeed.. But if /v1 is required then thats the first issue .. I'll share an update in 5
Btw, I'd use the user id as the document Id if this is supposed to be a collection of users
And some error handling in here would be good
I did and will but due to it not working I really stripped everything fr the function
Nope .. Doesn't work even with /v1 added
You're missing https://
Ah ok wait
Ok now I am embarresed .. That indeed worked 🫣🫣
Thanks so much and apologies for being a dummy
No worries. I'm glad it's resolved
[SOLVED] Updating Users Collection When Anon Session is Created
It must be https, or can we use http?
I highly recommend always using https in case of redirect issues
Time to change all my functions envs! 😅
Recommended threads
- Attributes Confusion
```import 'package:appwrite/models.dart'; class OrdersModel { String id, email, name, phone, status, user_id, address; int discount, total, created_at; L...
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Project in AppWrite Cloud doesn't allow ...
I have a collection where the data can't be opened. When I check the functions, there are three instances of a function still running that can't be deleted. The...