I am trying to make a request where I prompt a video file alongside instructions on how I expect the output to look like. Initially, I had gotten the output I expected but for the past 24 hours all requests I make with pretty much the same prompt fail. I even tweaked the prompts but my prompts keep getting blocked. Here’s the error I get:
Error calling Gemini API: Invalid operation: The `response.parts` quick accessor requires a single candidate, but none were returned. Please check the `response.prompt_feedback` to determine if the prompt was blocked.
Also my reponse.prompt_feedback
gives me this block_reason: OTHER
. I have also followed the proposed solutions here by specifying my safety settings but I still face same issue. I still get blocked which makes me wonder whats the entire point of them. I also generated a new API key however I am still met with same issue which is quite frustrating.
Btw my prompts do not suggest any kind of content that deserve any sort of prompt blocking so I am confused.
I will appreciate pointers to a solution for this prompt blocking issue.