I am getting this error while trying to use vertex ai API
throw new errors_1.GoogleGenerativeAIError(errorMessage);
^
GoogleGenerativeAIError: [VertexAI.GoogleGenerativeAIError]: got status: 500 Internal Server Error. {“error”:{“code”:500,“message”:“Internal error encountered.”,“status”:“INTERNAL”}}
at throwErrorIfNotOK (/Users/rohineewankar/Documents/AI-LangChain/node_modules/@google-cloud/vertexai/build/src/functions/post_fetch_processing.js:34:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async generateContent (/Users/rohineewankar/Documents/AI-LangChain/node_modules/@google-cloud/vertexai/build/src/functions/generate_content.js:51:5)
at async analyze_video_with_audio (/Users/rohineewankar/Documents/AI-LangChain/index.js:75:18) {
stackTrace: undefined
}
Node.js v20.16.0