
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
- functions page returns 500
I am running selfhosted appwrite version 1.6.0 and all of a sudden my functions page stopped working, returning a 500. I don't see anything in the logs that wo...
- Wrong number shown on project overview (...
- Collections not showing for relationship...
I am updating one of my databases. I have removed the majority of collection and started adding new collections. The new collections do not appear in the drop d...
