I am using freshchat API token for one of the integration. But when I try to make an API call with that token it throws me and 400 error with this message “JWT strings must contain exactly 2 period characters. Found: 1”.
The response I am getting 400 Bad Request error.
{
“success”: false,
“error_code”: 0,
“error_message”: “JWT strings must contain exactly 2 period characters. Found: 1”
}
Given this is account specific problem, it’s better we get in touch with Freshsales Support to have this problem resolved for us. I put you in touch with the right team to take forward this discussion.
In summary, the user account from which the developer is trying to consume is in the US region, so the support requested to use https://api.freshchat.com/v2/channels instead of https://api.eu.freshchat.com/v2/channels.