#[Solved ✅] I am getting an OS error while using the statement -toolset = ComposioToolSet(api_key="")

1 messages · Page 1 of 1 (latest)

round wraith
#

OSError: [Errno 22] Invalid argument: 'C:\Users\MihirMomaya\.composio\tags\CRUSTDATA_COMPANY_DATASET_APIS_>_COMPANY_DECISION_MAKERS

forest tapir
#

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
round wraith
#

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

scenic waveBOT
#

Thanks for the info. Team is taking a look at this, will keep you updated

round wraith
#

Hi Abhishek!
Do we have any update on this?
I need to use this for my project.

lost flicker
#

@forest tapir

forest tapir
#

Hey @round wraith , We pushed a fix for this same. Please give it a try and let us know.

round wraith
#

Hi Abhishek!
It's working now.
Thanks a lot for the help.