YJY
Convex Community2y ago
2 replies
YJ

Trying to execute as Query, but it is defined as Mutation.

hi, I am a new user on Convex. On my first try on creating my side project. I have a couple of issues with Convex.
I have created users.ts file as you can see on my code screenshot, but I have two different errors at the same time. One says trying to execute 'getMe' as Query, but it is defined as Mutation, and the another one says 'getUsers' is unauthorized. I am successfully logged in with clerk and convex using webhook by the way. Please help if someone knows this error.
2024-05-13_172417.png
2024-05-13_170722.png
code.png
Was this page helpful?