github2youtrack - Exception: 401

When running:


    github2youtrack -u -p badPsw razvan-flavius-panda j7*hjqeAd2!lasd fairy-tale-agi-solutions/haskell-stack-fix


I get following exception:


Traceback (most recent call last):
 File "/home/neo/.local/bin/github2youtrack", line 11, in <module>
   load_entry_point('youtrack-scripts==0.1.34', 'console_scripts', 'github2youtrack')()
 File "/home/neo/.local/lib/python2.7/site-packages/youtrackutils/", line 129, in main
 File "/home/neo/.local/lib/python2.7/site-packages/youtrackutils/", line 228, in github2csv
   write_issues(r, issues_csvout, comments_csvout, github_repo, AUTH)
 File "/home/neo/.local/lib/python2.7/site-packages/youtrackutils/", line 151, in write_issues
   raise Exception(r.status_code)
Exception: 401

Comment actions Permalink
Official comment


401 error means you are not authorized. Probably, the credentials are incorrect. Please check if you are able to log in to Youtrack and GitHub with these credentials.

If you are, then please try using a permanent token instead of login-password pair (-t key, and let me know the results.

Also, please note that this post is public, so I recommend avoiding posting sensitive data like passwords here. To share sensitive data, please create a support request here:

Comment actions Permalink

Thank you. I will try that.


The passwords I shared in the above command are dummy data so it is fine.


Please sign in to leave a comment.