https://linen.dev logo
Slack token refresh Issue
# 🖥│support-forum
s
So, I was calling a tool in Slack. Even though the user’s auth was showing as active on the Manage Auth page, it was still showing “token expired” during the tool call. Do I need to handle the refresh logic for all integrations manually, or does Composio take care of it ? https://cdn.discordapp.com/attachments/1400386101394407525/1400386101826555904/Screenshot_2025-07-31_at_1.13.13_PM.png?ex=688c72b0&is=688b2130&hm=1c6dcccb6c771b51839b1e3c0e8e6575708fd8f67909625e485b70d0d29dcce6& https://cdn.discordapp.com/attachments/1400386101394407525/1400386102145060874/Screenshot_2025-07-31_at_1.14.20_PM.png?ex=688c72b0&is=688b2130&hm=1658725212857a3fe51d1153349610d15ba3ad727d684b28d7953c39d5776f81&
Actually, there’s one more issue. When I call the tool to send a Slack message, I get a successful response, but the message doesn’t appear. I’ve attached a screenshot below could you take a look ? It’s kind of urgent. https://cdn.discordapp.com/attachments/1400386101394407525/1400404389549834300/Screenshot_2025-07-31_at_2.33.49_PM.png?ex=688c83b8&is=688b3238&hm=7c1272a2912582de79fe210c6396708988ec3d5be41bc4ca6a2e2c8d42b04b10&
@udaysidagana
This is happening when calling the tool with adk , it is working fine standalone.
c
Could you share error logs for both the Issues?
s
By error log do you mean the log ID in the above screen shots @User ?
c
Could you expand the payload and share the exact error you are receiving for the Second Issue? Also, Composio handles the token refresh. We are looking into this.
This is the payload for the second issue.
c
I see, the
user_id
is a depreciated field. Could you pass it as True and lmk if it works for you?
s
Ok got it so i explicitly mention to pass it as true.
But for some calls it was not passing this, it started after we shifted to the adk provider
This is a screen shot where the tool call worked
c
By default the value is set to '**false**', you can either change it to '**true**' or either no pass it entirely. The Agent might be passing the default value hence, you are receiving the error.
s
Got it. Just one final doubt, the deprecated parameters are only passed in the adk provider. I tested it with the Google provider, and it never passed the deprecated params. Any idea why ? Because if this happens with other tools too, I will have to test them manually.
Like for exmaple here only 2 params are passed. This is with the google provider.
@udaysidagana If possible can you look into this.
c
Yes, I'll forward this to the engg team and will work on a fix. Meanwhile, passing it as True should get you through the error.
s
@udaysidagana Any update on the slack auth refresh issue happened again.
c
Could you share the logId of the failed Tool call?
s
log_Z0HpY7aor0V5
@udaysidagana Please look into it , there is some issue with slack authenticaiton.
c
I checked your logs and it seems like the error is unrelated to Slack Auth refresh. However, there seems to be an Issue with the Tool the parameters passed by ADK provider, assuming this is the one used for this tool call.
I've bumped the engg team and will revert with updates.