Getting error when i try to run lead_generator -> main.py as per the example

raise ComposioClientError("API Key is not valid!") composio.client.exceptions.ComposioClientError: API Key is not valid!
18 Replies
national-gold
national-gold3w ago
Hey @Trifon Getsov, did you run composio login in CLI??
passive-yellow
passive-yellowOP3w ago
Yep… activated the github integration.. added the api keys for openai and it still throws the issues Recreated the api key a few times It gives me a warning that the api key mismatch… when i composio login…
national-gold
national-gold3w ago
Which OS and terminal are you using?
passive-yellow
passive-yellowOP3w ago
MacOS Zsh
national-gold
national-gold3w ago
Strange, are you free for a google meet now?? @Trifon Getsov
passive-yellow
passive-yellowOP3w ago
Yes
passive-yellow
passive-yellowOP3w ago
No description
passive-yellow
passive-yellowOP3w ago
this is the issue i am getting
national-gold
national-gold3w ago
Will connect with the team regarding this issue. Thank you for your patience @Trifon Getsov
passive-yellow
passive-yellowOP3w ago
thanks for the support
national-gold
national-gold3w ago
Is it working for you now??
passive-yellow
passive-yellowOP2w ago
Not yet
ugly-tan
ugly-tan2w ago
Hey @Trifon Getsov, this should be fixed now. Could you try using the query again and letting us know if you are facing the same issue?
passive-yellow
passive-yellowOP2w ago
it is not the same issue anymore openai.RateLimitError: Error code: 429 - {'error': {'message': 'Request too large for gpt-4o in organization org-EaWxM20z337infLjtHRUQXGI on tokens per min (TPM): Limit 30000, Requested 62782. The input or output tokens must be reduced in order to run successfully. Visit https://platform.openai.com/account/rate-limits to learn more.', 'type': 'tokens', 'param': None, 'code': 'rate_limit_exceeded'}} now i get this one ?
national-gold
national-gold2w ago
Seems like the app is working but somehow the prompt which you are sending to the openai is requesting more tokens then the set limit Could you make a repo of your code and send me?? I will test it out @Trifon Getsov
passive-yellow
passive-yellowOP2w ago
Yep
national-gold
national-gold2d ago
Hey @Trifon Getsov, we have fixed the issue, could you try it once and let us know if it works for you or not

Did you find this page helpful?