Value for argument "value" is not a valid query constraint. Cannot use "undefined" as a Firestore value. If you want to ignore undefined values, enable `ignoreUndefinedProperties`.
Was watching the stream 7: React 2025 – Authentication on API Routes (Firebase JWT)
I can't seem to figure out this error
Error message when I open feedback page for a particular site: Value for argument "value" is not a valid query constraint. Cannot use "undefined" as a Firestore value. If you want to ignore undefined values, enable ignoreUndefinedProperties.
But when I hard code the uid value which is causing the error it works.
Now I can access the page

Public repo: https://github.com/jaymehta20/fastfeedback
Somehow uid is not correct, it seems? Have you tried adding more logging to the value of uid from where it originated from?
I think the uid is correct as when I hard code it, I can see the feedback page, and even when I console log it the value seems correct but when I compare that uid variable with authorId it says it's not a valid constraint. Not sure what's the issue here.