Vertex AI Api error

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

1 Like

As mentioned in the document, the internal errors are usually transient and trying to resend the request might resolve the issue. If the error still persists, you can contact support or you can open a new thread on the issue tracker describing your issue.

Hello,

Thank you for your engagement regarding this issue. We haven’t heard back from you regarding this issue for sometime now. Hence, I’m going to close this issue which will no longer be monitored. However, if you have any new issues, Please don’t hesitate to create a new issue. We will be happy to assist you on the same.

Regards,
Sushma