Realtime/Websocket - Can't connect from Postman/Arduino/ESP - ERROR "code":1008 - "missing channels"
- 0
- Cloud
what are your headers?
I was able to connect just fine in postman doing this
wss://cloud.appwrite.io/v1/realtime?project=portfoliocms&channels%5B%5D=databases.portfolio.collections.project.documents
channels being the event you want to watch for changes on
Hi Kenny
Thank you for your help
Yes, it seems that I'm not pointing the channels correctly
The endpoint
wss://cloud.appwrite.io/v1/realtime?project=portfoliocms&channels%5B%5D=databases.portfolio.collections.project.documents
is also working
on my end
trying to apply the changes to make it fit in my example... so the name of the project is unique? should I use the name or the ID for the project? also, what does "5B%5D" stand for?
Thanks again
Oh - %5B%5D means []
WORKING - YOU ARE AWESOME @Kenny thank you very much !!!
The issue was that I was trying to send the channel like this
YOURS WORKS BETTER
It takes the channel and send it withing the URL
Awesome bro thank you very much
Recommended threads
- Cloud function deployment failures
When I run appwrite push functions, select the function I want to deploy, confirm with a YES, is starts deploying but goes into error. I need to repeat the ste...
- Function deployment failed: Unable to re...
Hi Appwrite team, I have been experiencing persistent errors when i attempt to push my appwrite functions. The logs on the deployment detail page on the console...
- One to many 2 way, console UI not correc...
Hey, seems I'm facing the exactly same issue with this one: https://github.com/appwrite/appwrite/issues/6016 Since this Github issue stay open for so long, let ...