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

GetAllWikis 401 #95

Closed
yene opened this issue Jan 29, 2021 · 2 comments
Closed

GetAllWikis 401 #95

yene opened this issue Jan 29, 2021 · 2 comments

Comments

@yene
Copy link

yene commented Jan 29, 2021

wikiClient, err := wiki.NewClient(ctx, connection)
response, err := wikiClient.GetAllWikis(ctx, wiki.GetAllWikisArgs{})

gives me a 401 but the other APIS GetRepositories and GetProjects work.
What am I missing here?

@nmiodice
Copy link

Does your personal access token have the wiki::read permission?

image

@yene
Copy link
Author

yene commented Feb 1, 2021

Thanks I will try, I thought it was a subset of the Git permissions.

@yene yene closed this as completed Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants