other-emerald
other-emerald•3w ago

Invalid value `GMAIL_SEND_EMAIL` for `Action`

Hi all! I'm wondering if anyone knows why I am getting this error:
ValueError: Invalid value `GMAIL_SEND_EMAIL` for `Action`
ValueError: Invalid value `GMAIL_SEND_EMAIL` for `Action`
I ran composio apps update and it broke my code - the error comes from this line:
tools=ComposioClient.composio_toolset.get_actions(
actions=[Action(unnamespaced_action_name)],
),
tools=ComposioClient.composio_toolset.get_actions(
actions=[Action(unnamespaced_action_name)],
),
I cant figure out what's going wrong here, why has GMAIL_SEND_EMAIL suddenly disappeared from my composio apps?
11 Replies
Soham
Soham•3w ago
Hey, can you update to latest version if possible? 'pip install composio-core - U' And do composio apps update
other-emerald
other-emerald•3w ago
I'll try, thanks!
afraid-scarlet
afraid-scarlet•3w ago
Let us know if it works, also if there is any other issues 🙌
other-emerald
other-emerald•3w ago
nope, still broken.
exotic-emerald
exotic-emerald•3w ago
@Robberduckzilla Can you share output for pip3 show composio-core
other-emerald
other-emerald•3w ago
No description
other-emerald
other-emerald•3w ago
I also have composio-core 0.3.30 installed through poetry for my project, and can test either oh actually, updating in poetry leads to a dependency mismatch with composio-crewai
exotic-emerald
exotic-emerald•3w ago
So are you running your code with 0.5.10 or 0.3.30 when you get this error?
other-emerald
other-emerald•3w ago
both.
exotic-emerald
exotic-emerald•3w ago
And regarding the dependency mismatch, you need update composio-crewai as well Can you share the entire error log and the code to replicate this if possible?
other-emerald
other-emerald•3w ago
just fiddling about with poetry, won't be a moment. Ah I think I may have it solved now -updating composio and composio-crewai did the trick (with some minor tweaks) Thank you for your help - updating solved the issue.