
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
- Sites - Tanstack start
Hi all do we know if sites will support deploying Tanstack start?
- Email template for OTP session
The default template shown by cloud interface does not match the sent template. Also whenever I change a character on the default template, the variable matcher...
- Relationship Array
I am still having issues adding items to an relationship Array. Is this going to be fixed soon? How can I do this operation without the Appwrite UI?
