https://linen.dev logo
SDK: connectedAccounts.list with userIds is broken...
# 🖥│support-forum
k
Copy code
const connectedAccounts = await composio.connectedAccounts.list({ userIds: ['<my_user_id>'], });
Using
connectedAccounts.list
now is always returning empty results. I can access all accounts from dashboard, but from sdk is broken
@abhishekpatil4 any ideas? thank you
a
Could you share the requestId?
k
ok we had to lowercase the slug and fetch it
composio.toolkits.get(slug.toLowerCase())
and it works fine now. Could you please let us know if this is going to be the case going forward or do we need to watch out for this behavior changing again.
FYI, it was working fine until this morning and suddenly this broke
a
you can pass tool slugs in uppercase too
k
thanks Abhishek, this is not resolved