Gemini function calling not working (gemini1.5-flash)

When using function-calling in Gemini1.5-flash I get an error

status = StatusCode.RESOURCE_EXHAUSTED
        details = “Resource has been exhausted (e.g. check quota).”
        debug_error_string = “UNKNOWN:Error received from peer ipv4:173.194.221.95:443 {grpc_message: ‘Resource has been exhausted (e.g. check quota).’, grpc_status:8, created_time: ‘2024-12-25T17:16:28.065332993+05:00’}””

At the same time, models without function calling work in the usual way

I also checked my query without function calling, it worked without 429