
I am using custom domain for my appwrite cloud and I am trying to get JWT token but i am getting this error `API Route: Error verifying JWT or getting user: TypeError: fetch failed at async GET (src/app/api/calendar/route.js:228:21) 226 | let appwriteUser; 227 | try {
228 | appwriteUser = await userAccount.get(); | ^ 229 | } catch (e) { 230 | console.error("API Route: Error verifying JWT or getting user:", e); 231 | return NextResponse.json( { [cause]: [Error: unable to verify the first certificate] { code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE' } } GET /api/calendar?timeMin=2025-04-30T18:30:00.000Z&timeMax=2025-05-30T18:30:00.000Z 401 in 130ms API Route: Error verifying JWT or getting user: TypeError: fetch failed at async GET (src/app/api/calendar/route.js:228:21) 226 | let appwriteUser; 227 | try { 228 | appwriteUser = await userAccount.get(); | ^ 229 | } catch (e) { 230 | console.error("API Route: Error verifying JWT or getting user:", e); 231 | return NextResponse.json( { [cause]: [Error: unable to verify the first certificate] { code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE' } }`
Recommended threads
- Unable to create push providers - FCM or...
Currently unable to create a push provider for FCM or APNS.... https://github.com/appwrite/console/issues/2045 When uploading a file... FCM = Valid file retu...
- Stuck in "deleting"
my parent element have relationship that doesnt exist and its stuck in "deleting", i cant delete it gives me error: Collection with the requested ID could not b...
- Help with 409 Error on Relationship Setu...
I ran into a 409 document_already_exists issue. with AppWrite so I tried to debug. Here's what I've set up: Collection A has 3 attributes and a two-way 1-to-m...
