https://linen.dev logo
Error connecting to Pipedrive
# 🖥│support-forum
s
I have configured an OAuth Pipedrive auth config and I want to create a connection to it. To do so, I run the code you can see in Screenshot #1 which returns an error like the one you see in Screenshot #2 - For toolkits that require some parameters, the first call would return a response with the needed params for the user to fill out. This one simply fails - For most OAuth toolkits, there is no additional parameter required which makes me think that this one is a bit special as it has
required params
+
oauth
How should one design the flow for integrating with a Toolkit such as this one? https://cdn.discordapp.com/attachments/1438107134314414181/1438107134587048047/image.png?ex=693d3a23&is=693be8a3&hm=b80c38a22cb4fa02d48181ed6853e6b0f824036a13c88f73a78a7a2088028c3c& https://cdn.discordapp.com/attachments/1438107134314414181/1438107135073452133/image.png?ex=693d3a23&is=693be8a3&hm=9977c4d3de1719698bba8435727ee04357635b49b22aae44e1735fa42c041256&
c
Hey, you can use hosted authLinks which will make this super seamless: or you can use this method to get the input fields:
s
a
Let me check
s
Wait wait, there's a difference between running
self._client.auth_configs.list(
and running
self._client.auth_configs.retrieve(nanoid=auth_config.id)
The second one yields the correct params
a
Got it, I just tried it and sharing the snippet here incase its helpful
Copy code
from composio import Composio
from json import dumps

composio = Composio()

auth_config = composio.auth_configs.get("ac_KVOOQ0fs8Mpz")
print(dumps(auth_config.expected_input_fields, indent=4))
https://cdn.discordapp.com/attachments/1438107134314414181/1438110911314395147/Screenshot_2025-11-12_at_3.48.09_PM.png?ex=6915b0a8&is=69145f28&hm=7ed560247363024a5f27a876d1ef2f6efd80c22eef6d05b69140eff88f2bae0a&
s
We are using the
AsyncComposio
from the
compoiso_client
package
How different is this from using the
Composio
class from
composio
package?
a
The composio package offers better developer experience with built-in methods for common tasks, while composio_client is a direct API wrapper. However, composio doesn't support async yet. It'll be picked up once team has more bandwidth - you can track progress here: https://github.com/ComposioHQ/composio/issues/2073