Realtime {error: 1003, Message type is not valid} (on 17.0.1 + 1.6.0)
- 0
- Self Hosted
- Web
- Realtime

I am facing the above mentioned issue, no matter if I am using web-sdk 16.0.2 or 17.01 (apw server is on 1.6.0) - maybe someone could help?

I discovered from here: https://github.com/appwrite/sdk-for-web/blob/4c8f1cc48b5ddb466599fc12776be982c4462101/src/client.ts#L510 that its obviously necessary to have the ssr setting create session method, have the cookie named exactly like
a_session_<projectId>
which is not what is for example stated here: https://appwrite.io/docs/products/auth/server-side-rendering (here they used just
session
as cookie name. That sounds like it would be some issue, what do you think @Darshan Pandya ?

are there more logs in the console tab? I have some doubts regarding since this was an old issue but different call site.

sorry i am not pro user, so cannot paste the whole logs object here at once - see file (which is: console.log(client) ...regarding the client instantiated for the realtime connection)


i just restarted the whole app using a_session_<projectId>
...its doesnt make a change, still getting the same error a couple seconds after the realtime client is instantiated
Recommended threads
- How many functions can I run simultaneou...
I want to konw, how many functions can I can simultaneously in appwrite cloud? I want to make a chat app where user sends text and text is processed using funct...
- Automatic chunking for large media does ...
Hi! Using https://github.com/appwrite/sdk-for-apple to upload images to Storage, it does not upload images larger than ~2mb. Error message: `Invalid document...
- keep getting cached data from db
I keep getting cached data from db queries. In my case I query data during build time for building a static nextjs app. sometimes (and very randomly) I get old ...
