Md AmmarOriginal post
Web Developer
Hi
I'm trying to call a locally running function, which requires auth, in headers I'm passing jwt token with key as 'x-appwrite-user-jwt", but upon logging req.headers I see "x-appwrite-user-jwt" as empty string, although other headers are coming fine.
How do I fix this?
Summary
Developer is trying to call a locally running function with auth that requires a jwt token in headers. The "x-appwrite-user-jwt" key is showing as an empty string. Solution: Double-check the key name spelling and syntax to ensure proper formatting for the jwt token.