Heroku crashes with a jwt error [on hold]

Multi tool use
Heroku crashes with a jwt error [on hold]
i have created a flask app that uses JWT for authentification. The app crashes on Heroku with the following log details.
from jwt import ExpiredSignatureError, InvalidTokenError
ImportError: cannot import name 'ExpiredSignatureError'
I dont have any such import in my code
from jwt import ExpiredSignatureError, InvalidTokenError
ImportError: cannot import name 'ExpiredSignatureError'
App logs
This question appears to be off-topic. The users who voted to close gave this specific reason: