Welcome to Portkey Forum

Updated 2 months ago

Troubleshooting Gemini API issues with Portkey configuration

Hi im using Gemini API via a config in Portkey. I specifically set up the categories to 'block none', but still it seems some of the requests get blocked, and plus it doesn't even show up in the Logs. and Automatic Retry doesn't seem to work on this either. Is there any way around this? At least to be able to log the requests that are getting blocked?
Attachment
image.png
V
A
4 comments
@Anshul are you unable to view the log completely or not seeing the error with which it's getting denied?

Automatic retry might not work because Google might be sending a 2xx status code with the request.
Is it possible for you to share the request that's getting blocked? I'll try to replicate and check with @visarg what's the logging issue on our side.

If the request itself is not getting logged - we'll fix that asap
@Anshul confirming that I can replicate Portkey not logging the whole request when it gets blocked. Will let you know here once it's fixed
Thanks! And yes there is simply no log entry when the request is blocked.
Add a reply
Sign up and join the conversation on Discord