Is "token expired" a common error after installing SDK on back and front?

This topic was automatically generated from Slack. You can find the original thread here.

Hi. installed sdk on back and front but getting token expired always. is it common error?

There might be an issue in the configuration payload you’re sending. Could you please describe step by step what is your process and the payloads you’re sending in the requests (remove sensitive info)?

Hi we call this route

the response is correct. just the issue is that the token is expired immediately

the connect_link_url says it’s expired and from frontend SDK it also says it’s expired

What app are you trying to connect an account using the token?

slack

Can you try adding the query param at the end of the connect link:

&app=slack

on it

yay it worked

Great!

thank u !!!

so we just add appname in param? best practice for doing it on many apps?

I think the error message saying the token has expired is misleading, would be nice to add a verification if an app was specified and output a specific error

Yeah you’ll have to add the app in the params. I don’t think it’s possible to do many apps at once

how do users create mappings ? it just connected now

What do you mean with mappings?

data we sending how can user map it. emails to emails, names to names

Sorry, I still don’t understand