Web Developer
Hey Folks im trying to get logging setup on my website but im getting an error, i dont have any document id and i think this is the issue but i havent got the foggiest clue where to even find it
Votes
0
Replies
10
Participants
3
Messages
11
Web Developer
Hey Folks im trying to get logging setup on my website but im getting an error, i dont have any document id and i think this is the issue but i havent got the foggiest clue where to even find it
Can you share part of your code where you're calling this endpoint? Also, if possible, share screenshots of your Appwrite Console Database setup.
Your endpoint looks wrong. There's an extra v1
Oh yes! I didn't saw that😅 That too could be the issue @ChironGhost
Web Developer
oooooo
Web Developer
i didnt see that part
Web Developer
Hmm, I can now see the main reason behind that error. Inside those async functions, in those commented lines, you’re writing an additional v1 after ${ENDPOINT}. There's no need of doing that as it is already included in the ${ENDPOINT} only.
Web Developer
perfect, ill apply that change and see if it worksd
why aren't you using one of our SDKs?
Web Developer
ok so i've changed the extra v1, it is still looking for document id , i dont even know where to begin looking for the document ID