i can see in dashboard but why im unable to see the log of that function in console
I mean what do you see here?
yeh it shows connected
here you can see the realtime messages sync 2 users but messeges are not syncing
That should work
- Is this a self-hosted or cloud?
- How are you initializing the client?
Everything seems intact let's see what <:appwrite:637383039499894787> Steven would say
k
- did you subscribe only once and after logging in?
- are you creating new documents after subscribing?
- does hte user have access to the newly created document?
- yep
- it can create document but not in realtime eg. when i press send it store in db .
- yes i have given access to any
here is the updated code what i tried
Mmm now that I think of it Can you remove all the new lines inside the string templates?
Change this to one line
oh
like this?
You can keep it on template string like so
client.subscribe(`databases.${DATABASE_ID}.collections.${COLLECTION_ID}.documents`);
Just make sure the string is one line and let us know
gotcha
thank youuuu
Great 😃
[SOLVED] RealTime API is not working in my application
Recommended threads
- Selfhost - Starting Docker containers fa...
I am stuck at installing appwrite. Specifically, the containers dont want to start up. The images are downloaded and ready. Dockhand is reporting containers st...
- It says domain already used but I have d...
I accidentally deleted the project in which I used my domain originally (orexia.app) from name.com. Now I am trying to add it to a different project and it says...
- Is this normal in the self host custom d...
when i try to add custom domain to the project did not see this in 1.8.0 ok when pressed the retry it says "DNS verification failed with resolver 8.8.8.8. Domai...