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
- Feedback and Deployment Challenges with ...
Hello world!, I've been developing a project using FastAPI in Python, and I was considering deploying it through Appwrite Functions. However, I encountered a f...
- Transaction Error
AppwriteException: Transaction with the requested ID could not be found. at Generator.next (<anonymous>) { code: 404, type: 'transaction_not_found', r...
- Bulk feature status
Hi there, I am using version 1.7.4 self hosted and wanted to use the bulk operations in a dart function. I saw that in the dart_appwrite sdk version 16.1.0 it ...