The JWT string must have two dots

Hi,
I had a strange problem after a dependency update and deployment on my server, I got this error :

{
   "message": "Slim Application Error",
   "exception": [
       {
           "type": "Lcobucci\\JWT\\Token\\InvalidTokenStructure",
           "code": 0,
           "message": "The JWT string must have two dots",
           "file": "/var/www/html/vendor/lcobucci/jwt/src/Token/InvalidTokenStructure.php",
           "line": 13
       }
   ]
}

But it’s surprising because I followed the implementation of @odan’s book and it worked perfectly until now.
Does anyone have any idea what the problem is?
Baudouin

The JWT string must have two dots

Have you checked the JWT?