YouTrack Rest API - Login correct, but then Client Response 401

I am currently trying to access to the REST API from my Java Application.

I am using the YouTrackClient LIbrary from Mylin.

(INFO: I'm using proxy)

 

When trying to login, it says everything is ok and it succeed.

But when I try to get anything from the REST Service (Issue or smth like that), it throws an exception

with the title: Client Response 401, but one second before I successfully logined using the REST.

 

What can be the problem?

2 comments
Comment actions Permalink
Official comment

Hello Markus, how exactly do you log in to YouTrack? Do you use a permanent token in an Authorization header? https://www.jetbrains.com/help/youtrack/incloud/2017.2/Log-in-to-YouTrack.html

Comment actions Permalink

I am using YouTrack InCloud.!!!

0

Please sign in to leave a comment.