Token not present error in client account

Hi Team,

I have a report from the customer facing while using zendesk marketplace app in their account.

Error:
Token not present

I had look one reference topic in the forum

i have seen in the network tab issue causing with freshchat API calls, in our account not facing that kind of issues it might be region API issues

Can you please help how to avoid this error?

@Tejasri_Kalluri
Seems like this is an API region issue,
you need to validate the token with the API in the Iparams page, there is no way to find the region automatically in Freshchat, so you need to do it manually by checking each region and store that region in Iparams and use that across the app.

Hope it helps :slight_smile:

Thanks

1 Like

Hi @Santhosh,

Thanks for your response. Can I know where I can change the region in freshchat.it will be helpful while testing

Hi @Tejasri_Kalluri ,
you are not able to change the region by default,
you can able to choose the region only at the time of account creation.

Thanks

Thanks for the clarification. I have used this URL(https://api.freshchat.com/v2/agents) in my code but works fine in both the US and IND region and it didn’t well in the EU region don’t know why it worked in the US region.

@Tejasri_Kalluri

Please find the API which is used for each region.

api.freshchat.com - US
api.eu.freshchat.com - EU
api.in.freshchat.com - IN
api.au.freshchat.com - AU

1 Like