I am encountering an error related to the UPSTASH_VECTOR_REST_TOKEN environment variable when trying to run the server. The error log is as follows:
⨯ Error: UPSTASH_VECTOR_REST_TOKEN is missing!
at eval (./app/action.tsx:65:19)
at (rsc)/./app/action.tsx (/data/perplexica/llm-answer-engine/.next/server/app/page.js:4778:1)
at webpack_require (/data/perplexica/llm-answer-engine/.next/server/edge-runtime-webpack.js:37:33)
at fn (/data/perplexica/llm-answer-engine/.next/server/edge-runtime-webpack.js:318:21)
at eval (./app/layout.tsx:14:65)
at (rsc)/./app/layout.tsx (/data/perplexica/llm-answer-engine/.next/server/app/page.js:4822:1)
at webpack_require (/data/perplexica/llm-answer-engine/.next/server/edge-runtime-webpack.js:37:33)
at Function.fn (/data/perplexica/llm-answer-engine/.next/server/edge-runtime-webpack.js:318:21)
⨯ Error: UPSTASH_VECTOR_REST_TOKEN is missing!
at eval (./app/action.tsx:65:19)
at (rsc)/./app/action.tsx (/data/perplexica/llm-answer-engine/.next/server/app/page.js:4778:1)
at webpack_require (/data/perplexica/llm-answer-engine/.next/server/edge-runtime-webpack.js:37:33)
at fn (/data/perplexica/llm-answer-engine/.next/server/edge-runtime-webpack.js:318:21)
at eval (./app/layout.tsx:14:65)
at (rsc)/./app/layout.tsx (/data/perplexica/llm-answer-engine/.next/server/app/page.js:4822:1)
at webpack_require (/data/perplexica/llm-answer-engine/.next/server/edge-runtime-webpack.js:37:33)
at Function.fn (/data/perplexica/llm-answer-engine/.next/server/edge-runtime-webpack.js:318:21)
digest: "1947390288"
⨯ Error: UPSTASH_VECTOR_REST_TOKEN is missing!
at eval (./app/action.tsx:65:19)
at (rsc)/./app/action.tsx (/data/perplexica/llm-answer-engine/.next/server/app/page.js:4778:1)
at webpack_require (/data/perplexica/llm-answer-engine/.next/server/edge-runtime-webpack.js:37:33)
at fn (/data/perplexica/llm-answer-engine/.next/server/edge-runtime-webpack.js:318:21)
at eval (./app/layout.tsx:14:65)
at (rsc)/./app/layout.tsx (/data/perplexica/llm-answer-engine/.next/server/app/page.js:4822:1)
at webpack_require (/data/perplexica/llm-answer-engine/.next/server/edge-runtime-webpack.js:37:33)
at Function.fn (/data/perplexica/llm-answer-engine/.next/server/edge-runtime-webpack.js:318:21)
[Error: UPSTASH_VECTOR_REST_TOKEN is missing!] { digest: '552280776' }
⨯ [Error: UPSTASH_VECTOR_REST_TOKEN is missing!] { digest: '552280776' }
⨯ [TypeError: Cannot read properties of null (reading 'default')]
The server fails to start with the error UPSTASH_VECTOR_REST_TOKEN is missing! despite this token being optional as per the documentation. I only intend to use the following API keys: OPENAI_API_KEY, GROQ_API_KEY, BRAVE_SEARCH_API_KEY, and SERPER_API.
The server should start without requiring UPSTASH_VECTOR_REST_TOKEN since it is optional. please help me.
I am encountering an error related to the UPSTASH_VECTOR_REST_TOKEN environment variable when trying to run the server. The error log is as follows:
⨯ Error: UPSTASH_VECTOR_REST_TOKEN is missing! at eval (./app/action.tsx:65:19) at (rsc)/./app/action.tsx (/data/perplexica/llm-answer-engine/.next/server/app/page.js:4778:1) at webpack_require (/data/perplexica/llm-answer-engine/.next/server/edge-runtime-webpack.js:37:33) at fn (/data/perplexica/llm-answer-engine/.next/server/edge-runtime-webpack.js:318:21) at eval (./app/layout.tsx:14:65) at (rsc)/./app/layout.tsx (/data/perplexica/llm-answer-engine/.next/server/app/page.js:4822:1) at webpack_require (/data/perplexica/llm-answer-engine/.next/server/edge-runtime-webpack.js:37:33) at Function.fn (/data/perplexica/llm-answer-engine/.next/server/edge-runtime-webpack.js:318:21) ⨯ Error: UPSTASH_VECTOR_REST_TOKEN is missing! at eval (./app/action.tsx:65:19) at (rsc)/./app/action.tsx (/data/perplexica/llm-answer-engine/.next/server/app/page.js:4778:1) at webpack_require (/data/perplexica/llm-answer-engine/.next/server/edge-runtime-webpack.js:37:33) at fn (/data/perplexica/llm-answer-engine/.next/server/edge-runtime-webpack.js:318:21) at eval (./app/layout.tsx:14:65) at (rsc)/./app/layout.tsx (/data/perplexica/llm-answer-engine/.next/server/app/page.js:4822:1) at webpack_require (/data/perplexica/llm-answer-engine/.next/server/edge-runtime-webpack.js:37:33) at Function.fn (/data/perplexica/llm-answer-engine/.next/server/edge-runtime-webpack.js:318:21) digest: "1947390288" ⨯ Error: UPSTASH_VECTOR_REST_TOKEN is missing! at eval (./app/action.tsx:65:19) at (rsc)/./app/action.tsx (/data/perplexica/llm-answer-engine/.next/server/app/page.js:4778:1) at webpack_require (/data/perplexica/llm-answer-engine/.next/server/edge-runtime-webpack.js:37:33) at fn (/data/perplexica/llm-answer-engine/.next/server/edge-runtime-webpack.js:318:21) at eval (./app/layout.tsx:14:65) at (rsc)/./app/layout.tsx (/data/perplexica/llm-answer-engine/.next/server/app/page.js:4822:1) at webpack_require (/data/perplexica/llm-answer-engine/.next/server/edge-runtime-webpack.js:37:33) at Function.fn (/data/perplexica/llm-answer-engine/.next/server/edge-runtime-webpack.js:318:21) [Error: UPSTASH_VECTOR_REST_TOKEN is missing!] { digest: '552280776' } ⨯ [Error: UPSTASH_VECTOR_REST_TOKEN is missing!] { digest: '552280776' } ⨯ [TypeError: Cannot read properties of null (reading 'default')]
The server fails to start with the error UPSTASH_VECTOR_REST_TOKEN is missing! despite this token being optional as per the documentation. I only intend to use the following API keys: OPENAI_API_KEY, GROQ_API_KEY, BRAVE_SEARCH_API_KEY, and SERPER_API.
The server should start without requiring UPSTASH_VECTOR_REST_TOKEN since it is optional. please help me.