#[Solved ✅] I am getting an OS error while using the statement -toolset = ComposioToolSet(api_key="")
1 messages · Page 1 of 1 (latest)
Hi @round wraith , Can you share the following details so what I can reproduce it on my end?
- Code snippet
- Py version
- Composio package version
- OS
from composio import ComposioToolSet, App
toolset = ComposioToolSet(api_key="xyz_value")
integration = toolset.get_integration(id="xyz_value")
Collect auth params from your users
print(integration.expectedInputFields)
connection_request = toolset.initiate_connection(
integration_id=integration.id,
connected_account_params={
"Base64_Encode": "xyz_value",
"your-domain": "xlmllc"
},
entity_id="email_id",
)
Redirect step require for OAuth Flow
print(connection_request.redirectUrl)
print(connection_request.connectedAccountId)
Python Version: 3.12.2
Composio Package Version:
composio==0.1.1
composio_core==0.7.10
composio_langchain==0.7.10
OS: Windows
Thanks a lot, hope to hear from you soon. Stuck here for some time and need to move urgently
Thanks for the info. Team is taking a look at this, will keep you updated
Hi Abhishek!
Do we have any update on this?
I need to use this for my project.
@forest tapir
Hey @round wraith , We pushed a fix for this same. Please give it a try and let us know.
Hi Abhishek!
It's working now.
Thanks a lot for the help.