2025-09-29T12:11:31: [next-auth][error][OAUTH_CALLBACK_ERROR] 
2025-09-29T12:11:31: https://next-auth.js.org/errors#oauth_callback_error state missing from the response {
2025-09-29T12:11:31:   error: RPError: state missing from the response
2025-09-29T12:11:31:       at Client.callback (/home/americas/public_html/ai/node_modules/openid-client/lib/client.js:435:13)
2025-09-29T12:11:31:       at oAuthCallback (/home/americas/public_html/ai/node_modules/next-auth/core/lib/oauth/callback.js:94:29)
2025-09-29T12:11:31:       at async Object.callback (/home/americas/public_html/ai/node_modules/next-auth/core/routes/callback.js:45:11)
2025-09-29T12:11:31:       at async AuthHandler (/home/americas/public_html/ai/node_modules/next-auth/core/index.js:175:28)
2025-09-29T12:11:31:       at async NextAuthApiHandler (/home/americas/public_html/ai/node_modules/next-auth/next/index.js:18:19)
2025-09-29T12:11:31:       at async NextAuth._args$ (/home/americas/public_html/ai/node_modules/next-auth/next/index.js:91:14)
2025-09-29T12:11:31:       at async K (/home/americas/public_html/ai/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js:20:16853)
2025-09-29T12:11:31:       at async U.render (/home/americas/public_html/ai/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js:20:17492)
2025-09-29T12:11:31:       at async NextNodeServer.runApi (/home/americas/public_html/ai/node_modules/next/dist/server/next-server.js:600:9)
2025-09-29T12:11:31:       at async NextNodeServer.handleCatchallRenderRequest (/home/americas/public_html/ai/node_modules/next/dist/server/next-server.js:269:37) {
2025-09-29T12:11:31:     name: 'OAuthCallbackError',
2025-09-29T12:11:31:     code: undefined
2025-09-29T12:11:31:   },
2025-09-29T12:11:31:   providerId: 'google',
2025-09-29T12:11:31:   message: 'state missing from the response'
2025-09-29T12:11:31: }
2025-09-29T12:13:21: ❌ Pinecone upsert failed: Vector dimension 1536 does not match the dimension of the index 384
2025-10-01T20:01:20: Gemini API error: ServerError: got status: 503 Service Unavailable. {"error":{"message":"exception parsing response","code":503,"status":"Service Unavailable"}}
2025-10-01T20:01:20:     at throwErrorIfNotOK (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:6296:33)
2025-10-01T20:01:20:     at /home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:6124:19
2025-10-01T20:01:20:     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2025-10-01T20:01:20:     at async Models.generateContentStream (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:2918:20)
2025-10-01T20:01:20:     at async d (/home/americas/public_html/ai/.next/server/pages/api/stream.js:12:850)
2025-10-01T20:01:20:     at async K (/home/americas/public_html/ai/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js:20:16853)
2025-10-01T20:01:20:     at async U.render (/home/americas/public_html/ai/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js:20:17492)
2025-10-01T20:01:20:     at async NextNodeServer.runApi (/home/americas/public_html/ai/node_modules/next/dist/server/next-server.js:600:9)
2025-10-01T20:01:20:     at async NextNodeServer.handleCatchallRenderRequest (/home/americas/public_html/ai/node_modules/next/dist/server/next-server.js:269:37)
2025-10-01T20:01:20:     at async NextNodeServer.handleRequestImpl (/home/americas/public_html/ai/node_modules/next/dist/server/base-server.js:816:17) {
2025-10-01T20:01:20:   [cause]: 'Error\n' +
2025-10-01T20:01:20:     '    at new ServerError (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:5926:37)\n' +
2025-10-01T20:01:20:     '    at throwErrorIfNotOK (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:6296:33)\n' +
2025-10-01T20:01:20:     '    at /home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:6124:19\n' +
2025-10-01T20:01:20:     '    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n' +
2025-10-01T20:01:20:     '    at async Models.generateContentStream (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:2918:20)\n' +
2025-10-01T20:01:20:     '    at async d (/home/americas/public_html/ai/.next/server/pages/api/stream.js:12:850)\n' +
2025-10-01T20:01:20:     '    at async K (/home/americas/public_html/ai/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js:20:16853)\n' +
2025-10-01T20:01:20:     '    at async U.render (/home/americas/public_html/ai/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js:20:17492)\n' +
2025-10-01T20:01:20:     '    at async NextNodeServer.runApi (/home/americas/public_html/ai/node_modules/next/dist/server/next-server.js:600:9)\n' +
2025-10-01T20:01:20:     '    at async NextNodeServer.handleCatchallRenderRequest (/home/americas/public_html/ai/node_modules/next/dist/server/next-server.js:269:37)'
2025-10-01T20:01:20: }
2025-10-04T11:45:12: ❌ Pinecone upsert failed: Vector dimension 1536 does not match the dimension of the index 384
2025-10-04T13:39:37: Gemini API error: ServerError: got status: 500 Internal Server Error. {"error":{"message":"exception parsing response","code":500,"status":"Internal Server Error"}}
2025-10-04T13:39:37:     at throwErrorIfNotOK (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:6296:33)
2025-10-04T13:39:37:     at /home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:6124:19
2025-10-04T13:39:37:     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2025-10-04T13:39:37:     at async Models.generateContentStream (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:2918:20)
2025-10-04T13:39:37:     at async d (/home/americas/public_html/ai/.next/server/pages/api/stream.js:12:850)
2025-10-04T13:39:37:     at async K (/home/americas/public_html/ai/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js:20:16853)
2025-10-04T13:39:37:     at async U.render (/home/americas/public_html/ai/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js:20:17492)
2025-10-04T13:39:37:     at async NextNodeServer.runApi (/home/americas/public_html/ai/node_modules/next/dist/server/next-server.js:600:9)
2025-10-04T13:39:37:     at async NextNodeServer.handleCatchallRenderRequest (/home/americas/public_html/ai/node_modules/next/dist/server/next-server.js:269:37)
2025-10-04T13:39:37:     at async NextNodeServer.handleRequestImpl (/home/americas/public_html/ai/node_modules/next/dist/server/base-server.js:816:17) {
2025-10-04T13:39:37:   [cause]: 'Error\n' +
2025-10-04T13:39:37:     '    at new ServerError (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:5926:37)\n' +
2025-10-04T13:39:37:     '    at throwErrorIfNotOK (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:6296:33)\n' +
2025-10-04T13:39:37:     '    at /home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:6124:19\n' +
2025-10-04T13:39:37:     '    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n' +
2025-10-04T13:39:37:     '    at async Models.generateContentStream (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:2918:20)\n' +
2025-10-04T13:39:37:     '    at async d (/home/americas/public_html/ai/.next/server/pages/api/stream.js:12:850)\n' +
2025-10-04T13:39:37:     '    at async K (/home/americas/public_html/ai/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js:20:16853)\n' +
2025-10-04T13:39:37:     '    at async U.render (/home/americas/public_html/ai/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js:20:17492)\n' +
2025-10-04T13:39:37:     '    at async NextNodeServer.runApi (/home/americas/public_html/ai/node_modules/next/dist/server/next-server.js:600:9)\n' +
2025-10-04T13:39:37:     '    at async NextNodeServer.handleCatchallRenderRequest (/home/americas/public_html/ai/node_modules/next/dist/server/next-server.js:269:37)'
2025-10-04T13:39:37: }
2025-10-21T10:40:49: Gemini API error: Error: Incomplete JSON segment at the end
2025-10-21T10:40:49:     at ApiClient.processStreamResponse_1 (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:6150:35)
2025-10-21T10:40:49:     at processStreamResponse_1.next (<anonymous>)
2025-10-21T10:40:49:     at resume (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:2507:44)
2025-10-21T10:40:49:     at fulfill (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:2509:31)
2025-10-21T10:40:49:     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
