
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
- Custom Domain TLS Certificate Not Applie...
Added a custom domain, but gives me an error ``` Requested host does not match any Subject Alternative Names (SANs) on TLS certificate [3d45f294eb3f84a3350132a2...
- 401 - Project is not accessible in this ...
This is on the app write console https://screen.aryanwadhera.tech/7YTVhLTf
- null
