Custom user list does not return data #427
-
Failure description?var user = await _client.Users.GetSettingsAsync();
var userName = "";
if (user != null)
{
userName = user.Value.User.Username;
}
var usersFolder = await _client.Users.GetPersonalListsAsync(userName);Version1.3.0 (Latest) Relevant StacktraceThere is not any, just return empty list Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 7 comments
-
|
If i try pure api endpoint it does work ok..
|
Beta Was this translation helpful? Give feedback.
-
|
Ok this is strange but List need to be public, but this is wrong it should also work if the list is private. |
Beta Was this translation helpful? Give feedback.
-
|
This looks like an authorization problem. |
Beta Was this translation helpful? Give feedback.
-
|
im always authorized with token an it is valid... check the code, If i would not be auth i would never be able to read my own Username var user = await _client.Users.GetSettingsAsync();work otherwise |
Beta Was this translation helpful? Give feedback.
-
|
Sorry, you're right. I missed the line. Did you try setting |
Beta Was this translation helpful? Give feedback.
-
|
works with force, but i dont get why this is needed.. |
Beta Was this translation helpful? Give feedback.
-
|
The Trakt API has endpoints that require OAuth authorization and endpoints where authorization is optional. Docs => https://henrikfroehling.github.io/Trakt.NET/docs/configuration.html#forced-authorization |
Beta Was this translation helpful? Give feedback.
Sorry, you're right. I missed the line.
Did you try setting
_client.Configuration.ForceAuthorization = true?