Python api suddenly 403 Forbidden


Hi. We have been using the Python API for a while. Since the 18'th of october we are receiving:

youtrack.YouTrackException: Error for [/user/login]: 403: Forbidden: Forbidden

after using:

yt = YouTrack('https://***', login='****', password='****')

I checked the user, api permissions, and whitelist. 

I also tried using a token:

yt = YouTrack('http://**', token='perm:***')

but received:

TypeError: __init__() got an unexpected keyword argument 'token'

Our hosted youtrack version is:

  • Build 46581 Thu, Oct 18, 2018, 3:48:03 PM UTC

Since no relevant changes were made by us, we suspect it could be due to the update to build 46581. 


The current library used is from

revision (latest):

commit a64cac64c350218e223ddee940fe5b12f80206e9
Author: Alexander Buturlinov <>
Date: Sat Jul 21 15:44:09 2018 +0300

fix problem with wikified field



Thank you for your assistance,





1 comment
Official comment


I believe you've faced this bug: We have already fixed it and will provide the fix asap.
Meanwhile, you can use other methods of authentication ( or unban guest account (please don't forget to revoke all guest user's permissions, including All Users group, to avoid data disclosure).
Hope it helps.

Please sign in to leave a comment.