Rasa.core.channels.botframework - Bot framework JWT token could not be verified

Hi! I cannot send and received messages as I connect RASA to Skype. The following logs are observed:


2023-03-29 19:02:05 ERROR    rasa.core.channels.botframework  - Bot framework JWT token could not be verified.
2023-03-29 19:02:05 ERROR    rasa.core.channels.botframework  - The token is not yet valid (nbf)
Traceback (most recent call last):
  File "C:\Users\Skyland-PC\miniconda3\envs\txt\lib\site-packages\rasa\core\channels\botframework.py", line 264, in _validate_auth
    self._validate_jwt_token(jwt_token)
  File "C:\Users\Skyland-PC\miniconda3\envs\txt\lib\site-packages\rasa\core\channels\botframework.py", line 235, in _validate_jwt_token
    algorithms=jwt_header["alg"],
  File "C:\Users\Skyland-PC\miniconda3\envs\txt\lib\site-packages\jwt\api_jwt.py", line 129, in decode
    decoded = self.decode_complete(jwt, key, algorithms, options, **kwargs)
  File "C:\Users\Skyland-PC\miniconda3\envs\txt\lib\site-packages\jwt\api_jwt.py", line 116, in decode_complete
    self._validate_claims(payload, merged_options, **kwargs)
  File "C:\Users\Skyland-PC\miniconda3\envs\txt\lib\site-packages\jwt\api_jwt.py", line 149, in _validate_claims
    self._validate_nbf(payload, now, leeway)
  File "C:\Users\Skyland-PC\miniconda3\envs\txt\lib\site-packages\jwt\api_jwt.py", line 178, in _validate_nbf
    raise ImmatureSignatureError("The token is not yet valid (nbf)")
jwt.exceptions.ImmatureSignatureError: The token is not yet valid (nbf)

Hi @prothej227 , I had a similar issue when trying to connect with Microsoft Teams and I fixed it by providing the correct app_id corresponding to app_password which generated the appropriate JWT Token.