hi everyone, I built a project where I use Gemini API, I also use node.js with Graphql and there I have an endpoint where I generate text by Gemini when I send some request from Apollo-server I get a response, but when I send a request from next.js to node.js for generate Ai text there I got such error:
ApolloError: [GoogleGenerativeAI Error]: Error fetching from https://generativelanguage.googleapis.com/v1/models/gemini-pro:generateContent: [500 Internal Server Error] An internal error has occurred. Please retry or report at https://developers.generativeai.google/guide/troubleshooting
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |