rare-sapphire
rare-sapphireβ€’6mo ago

[Solved βœ…] 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β€’6mo ago
Hey, can you update to latest version if possible? 'pip install composio-core - U' And do composio apps update
rare-sapphire
rare-sapphireOPβ€’6mo ago
I'll try, thanks!
deep-jade
deep-jadeβ€’6mo ago
Let us know if it works, also if there is any other issues πŸ™Œ
rare-sapphire
rare-sapphireOPβ€’6mo ago
nope, still broken.
quickest-silver
quickest-silverβ€’6mo ago
@Robberduckzilla Can you share output for pip3 show composio-core
rare-sapphire
rare-sapphireOPβ€’6mo ago
No description
rare-sapphire
rare-sapphireOPβ€’6mo 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
quickest-silver
quickest-silverβ€’6mo ago
So are you running your code with 0.5.10 or 0.3.30 when you get this error?
rare-sapphire
rare-sapphireOPβ€’6mo ago
both.
quickest-silver
quickest-silverβ€’6mo 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?
rare-sapphire
rare-sapphireOPβ€’6mo 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.

Did you find this page helpful?