Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search Issue Request is not authenticated #1916

l1salvatore opened this Issue Nov 30, 2018 · 1 comment


None yet
2 participants
Copy link

commented Nov 30, 2018

Is it possible that the SearchIssueRequest like

  // you can also specify a search term here
var request = new SearchIssuesRequest();

// or use a series of repositories
request.Repos = new RepositoryCollection {

sends anonymous request? Because i have problems when i query the API with this class. I have the client authenticated:
githubclient.Credentials = new Credentials(token);
And i have a private repo that i can view with the acces token.
This succesfully returns the issues, but GetAllForRepository doesn't have all filter options that let me use this functionality.
githubclient.Issue.GetAllForRepository(repo.Owner, repo.Name).Result;
This is not working for me, it throws me "Validation Failed" even when i am authenticated.
So may be a problem of Search.SearchIssues that sends anonymous requests.

Thanks in advance!



This comment has been minimized.

Copy link

commented Jan 2, 2019

@l1salvatore "Validation Failed" is a generic error that the server sends if it can't resolve the search request. Can you provide the full snippet of code you are running that triggers the failure, so we can try and reproduce it on our end?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.