2025-11-12T08:07:11: Gemini API error: Error: Incomplete JSON segment at the end
2025-11-12T08:07:11:     at ApiClient.processStreamResponse_1 (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:6150:35)
2025-11-12T08:07:11:     at processStreamResponse_1.next (<anonymous>)
2025-11-12T08:07:11:     at resume (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:2507:44)
2025-11-12T08:07:11:     at fulfill (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:2509:31)
2025-11-12T08:07:11:     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2025-11-13T08:02:06: Gemini API error: ServerError: got status: 503 Service Unavailable. {"error":{"message":"exception parsing response","code":503,"status":"Service Unavailable"}}
2025-11-13T08:02:06:     at throwErrorIfNotOK (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:6296:33)
2025-11-13T08:02:06:     at /home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:6124:19
2025-11-13T08:02:06:     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2025-11-13T08:02:06:     at async Models.generateContentStream (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:2918:20)
2025-11-13T08:02:06:     at async u (/home/americas/public_html/ai/.next/server/pages/api/stream.js:12:850)
2025-11-13T08:02:06:     at async K (/home/americas/public_html/ai/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js:20:16853)
2025-11-13T08:02:06:     at async U.render (/home/americas/public_html/ai/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js:20:17492)
2025-11-13T08:02:06:     at async NextNodeServer.runApi (/home/americas/public_html/ai/node_modules/next/dist/server/next-server.js:600:9)
2025-11-13T08:02:06:     at async NextNodeServer.handleCatchallRenderRequest (/home/americas/public_html/ai/node_modules/next/dist/server/next-server.js:269:37)
2025-11-13T08:02:06:     at async NextNodeServer.handleRequestImpl (/home/americas/public_html/ai/node_modules/next/dist/server/base-server.js:816:17) {
2025-11-13T08:02:06:   [cause]: 'Error\n' +
2025-11-13T08:02:06:     '    at new ServerError (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:5926:37)\n' +
2025-11-13T08:02:06:     '    at throwErrorIfNotOK (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:6296:33)\n' +
2025-11-13T08:02:06:     '    at /home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:6124:19\n' +
2025-11-13T08:02:06:     '    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n' +
2025-11-13T08:02:06:     '    at async Models.generateContentStream (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:2918:20)\n' +
2025-11-13T08:02:06:     '    at async u (/home/americas/public_html/ai/.next/server/pages/api/stream.js:12:850)\n' +
2025-11-13T08:02:06:     '    at async K (/home/americas/public_html/ai/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js:20:16853)\n' +
2025-11-13T08:02:06:     '    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-11-13T08:02:06:     '    at async NextNodeServer.runApi (/home/americas/public_html/ai/node_modules/next/dist/server/next-server.js:600:9)\n' +
2025-11-13T08:02:06:     '    at async NextNodeServer.handleCatchallRenderRequest (/home/americas/public_html/ai/node_modules/next/dist/server/next-server.js:269:37)'
2025-11-13T08:02:06: }
2025-11-13T08:07:28: Gemini API error: Error: Incomplete JSON segment at the end
2025-11-13T08:07:28:     at ApiClient.processStreamResponse_1 (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:6150:35)
2025-11-13T08:07:28:     at processStreamResponse_1.next (<anonymous>)
2025-11-13T08:07:28:     at resume (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:2507:44)
2025-11-13T08:07:28:     at fulfill (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:2509:31)
2025-11-13T08:07:28:     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2025-11-13T08:12:52: Gemini API error: Error: Incomplete JSON segment at the end
2025-11-13T08:12:52:     at ApiClient.processStreamResponse_1 (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:6150:35)
2025-11-13T08:12:52:     at processStreamResponse_1.next (<anonymous>)
2025-11-13T08:12:52:     at resume (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:2507:44)
2025-11-13T08:12:52:     at fulfill (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:2509:31)
2025-11-13T08:12:52:     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2025-11-13T08:20:41: Gemini API error: Error: Incomplete JSON segment at the end
2025-11-13T08:20:41:     at ApiClient.processStreamResponse_1 (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:6150:35)
2025-11-13T08:20:41:     at processStreamResponse_1.next (<anonymous>)
2025-11-13T08:20:41:     at resume (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:2507:44)
2025-11-13T08:20:41:     at fulfill (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:2509:31)
2025-11-13T08:20:41:     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2025-11-13T08:29:23: Gemini API error: Error: Incomplete JSON segment at the end
2025-11-13T08:29:23:     at ApiClient.processStreamResponse_1 (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:6150:35)
2025-11-13T08:29:23:     at processStreamResponse_1.next (<anonymous>)
2025-11-13T08:29:23:     at resume (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:2507:44)
2025-11-13T08:29:23:     at fulfill (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:2509:31)
2025-11-13T08:29:23:     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2025-11-13T09:00:10: Gemini API error: ServerError: got status: 503 Service Unavailable. {"error":{"message":"exception parsing response","code":503,"status":"Service Unavailable"}}
2025-11-13T09:00:10:     at throwErrorIfNotOK (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:6296:33)
2025-11-13T09:00:10:     at /home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:6124:19
2025-11-13T09:00:10:     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2025-11-13T09:00:10:     at async Models.generateContentStream (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:2918:20)
2025-11-13T09:00:10:     at async u (/home/americas/public_html/ai/.next/server/pages/api/stream.js:12:850)
2025-11-13T09:00:10:     at async K (/home/americas/public_html/ai/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js:20:16853)
2025-11-13T09:00:10:     at async U.render (/home/americas/public_html/ai/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js:20:17492)
2025-11-13T09:00:10:     at async NextNodeServer.runApi (/home/americas/public_html/ai/node_modules/next/dist/server/next-server.js:600:9)
2025-11-13T09:00:10:     at async NextNodeServer.handleCatchallRenderRequest (/home/americas/public_html/ai/node_modules/next/dist/server/next-server.js:269:37)
2025-11-13T09:00:10:     at async NextNodeServer.handleRequestImpl (/home/americas/public_html/ai/node_modules/next/dist/server/base-server.js:816:17) {
2025-11-13T09:00:10:   [cause]: 'Error\n' +
2025-11-13T09:00:10:     '    at new ServerError (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:5926:37)\n' +
2025-11-13T09:00:10:     '    at throwErrorIfNotOK (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:6296:33)\n' +
2025-11-13T09:00:10:     '    at /home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:6124:19\n' +
2025-11-13T09:00:10:     '    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n' +
2025-11-13T09:00:10:     '    at async Models.generateContentStream (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:2918:20)\n' +
2025-11-13T09:00:10:     '    at async u (/home/americas/public_html/ai/.next/server/pages/api/stream.js:12:850)\n' +
2025-11-13T09:00:10:     '    at async K (/home/americas/public_html/ai/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js:20:16853)\n' +
2025-11-13T09:00:10:     '    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-11-13T09:00:10:     '    at async NextNodeServer.runApi (/home/americas/public_html/ai/node_modules/next/dist/server/next-server.js:600:9)\n' +
2025-11-13T09:00:10:     '    at async NextNodeServer.handleCatchallRenderRequest (/home/americas/public_html/ai/node_modules/next/dist/server/next-server.js:269:37)'
2025-11-13T09:00:10: }
2025-11-13T09:09:22: Gemini API error: Error: Incomplete JSON segment at the end
2025-11-13T09:09:22:     at ApiClient.processStreamResponse_1 (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:6150:35)
2025-11-13T09:09:22:     at processStreamResponse_1.next (<anonymous>)
2025-11-13T09:09:22:     at resume (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:2507:44)
2025-11-13T09:09:22:     at fulfill (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:2509:31)
2025-11-13T09:09:22:     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2025-11-13T09:46:25: Gemini API error: Error: Incomplete JSON segment at the end
2025-11-13T09:46:25:     at ApiClient.processStreamResponse_1 (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:6150:35)
2025-11-13T09:46:25:     at processStreamResponse_1.next (<anonymous>)
2025-11-13T09:46:25:     at resume (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:2507:44)
2025-11-13T09:46:25:     at fulfill (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:2509:31)
2025-11-13T09:46:25:     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2025-11-13T09:46:56: Gemini API error: Error: Incomplete JSON segment at the end
2025-11-13T09:46:56:     at ApiClient.processStreamResponse_1 (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:6150:35)
2025-11-13T09:46:56:     at processStreamResponse_1.next (<anonymous>)
2025-11-13T09:46:56:     at resume (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:2507:44)
2025-11-13T09:46:56:     at fulfill (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:2509:31)
2025-11-13T09:46:56:     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2025-11-13T10:10:01: Gemini API error: Error: Incomplete JSON segment at the end
2025-11-13T10:10:01:     at ApiClient.processStreamResponse_1 (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:6150:35)
2025-11-13T10:10:01:     at processStreamResponse_1.next (<anonymous>)
2025-11-13T10:10:01:     at resume (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:2507:44)
2025-11-13T10:10:01:     at fulfill (/home/americas/public_html/ai/node_modules/@google/genai/dist/node/index.js:2509:31)
2025-11-13T10:10:01:     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2025-11-19T14:13:19: ❌ Pinecone upsert failed: Vector dimension 1536 does not match the dimension of the index 384
2025-11-19T14:13:52: ❌ Pinecone upsert failed: Vector dimension 1536 does not match the dimension of the index 384
