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

Document minimum access level for authentication token #4

Open
vishalovercome opened this issue Sep 17, 2021 · 0 comments
Open

Document minimum access level for authentication token #4

vishalovercome opened this issue Sep 17, 2021 · 0 comments

Comments

@vishalovercome
Copy link

vishalovercome commented Sep 17, 2021

I get the following error for the main as well as sub-projects which I presume might be due to insufficient access granted at the time of token creation:

[error] (XXX / changeLog) java.lang.IllegalStateException: Got 401 Unauthorized changeLog [error] java.lang.IllegalStateException: Got 401 Unauthorized [error] at org.thp.ghcl.Github$.$anonfun$getMilestones$1(Github.scala:121) [error] at scala.util.Either.fold(Either.scala:192) [error] at org.thp.ghcl.Github$.getMilestones(Github.scala:123) [error] at org.thp.ghcl.SbtGithubChangelogPlugin$.$anonfun$projectSettings$14(SbtGithubChangelogPlugin.scala:68) [error] at scala.Function1.$anonfun$compose$1(Function1.scala:49) [error] at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) [error] at sbt.std.Transform$$anon$4.work(Transform.scala:68) [error] at sbt.Execute.$anonfun$submit$2(Execute.scala:282) [error] at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:23) [error] at sbt.Execute.work(Execute.scala:291) [error] at sbt.Execute.$anonfun$submit$1(Execute.scala:282) [error] at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265) [error] at sbt.CompletionService$$anon$2.call(CompletionService.scala:64) [error] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) [error] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [error] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) [error] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [error] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [error] at java.base/java.lang.Thread.run(Thread.java:834) [error] Caused by: sttp.client.HttpError: statusCode: 401, response: {"message":"Bad credentials","documentation_url":"https://docs.github.com/graphql"}

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

1 participant