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?

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?

Comment actions Permalink

I am using YouTrack InCloud.!!!


Please sign in to leave a comment.