Working with gemini AI and nextjs

Hey everyone,
I have been working with gemini api for a couple of weeks now, extracting text from pdf and passing it as inline textpart, Today i tried to pass an inlineDataPart but i keep getting 400 error response and the content says “Pro feature only” what does that mean, do i have to upgrade and pay or something, please this is very urgent

1 Like

Hi @Sam_Odiagbe ,

Thanks for raising this issue. You can check the following troubleshooting guide.

If it doesn’t help, please share a small, reproducible code snippet so I can check the issue from my end. Thank you!!!