I tried updating the sdk to the latest version (^1.3.3), adding/removing the allowed origins, switching between production and development environments, rotating the client secret – none of these worked
I’m a little confused about the external_user_id naming, both the param (camel vs snake casing) and the value you’re defining for it. Not positive that’s the issue, but that stood out to me.
Yea, too bad we weren’t able to raise that error more explicitly
Thanks, no prob. The “token is invalid” error is definitely more appropriate in this case.
What are you building, by the way?
We building AI agents for marketing automation. Pipedream will help us call CRM APIs such as on Hubspot.
We’d like our business users to be able to use the AI agents to automate email replies and lead generation. For this the agents need to autonomously call email & CRM APIs.
The idea is to let users connect their apps using Pipedream, and use the auth to make API calls. The api params will be generated by the AI dynamically (GPT function calls).
Let me know if this is a valid use of Pipedream (seems like a common use case these days).
Yea, totally. Are you planning to retrieve and store tokens for your end users from Pipedream, then send the calls directly to the downstream API from your app?
Lets you avoid touching any user tokens at all — you can still use an LLM to write the request automatically, send it to the proxy, we’ll insert the user’s auth, then forward it along to the downstream API.