tag:help.appveyor.com,2012-11-13:/discussions/problems/1369-cannot-read-last-commit-information-from-github-repository-nikolayitopenjudgesystem-unauthorizedAppVeyor: Discussion 2018-08-25T02:03:44Ztag:help.appveyor.com,2012-11-13:Comment/357999242015-01-16T15:17:08Z2015-01-16T15:17:09ZCannot read last commit information from GitHub repository NikolayIT/OpenJudgeSystem: Unauthorized<div><p>Hi, I am trying to build my project <a href=
"https://github.com/NikolayIT/OpenJudgeSystem">https://github.com/NikolayIT/OpenJudgeSystem</a>
and I am getting <code>Cannot read last commit information from
GitHub repository NikolayIT/OpenJudgeSystem: Unauthorized</code>.
Am I doing something wrong?</p></div>Nikolay Kostovtag:help.appveyor.com,2012-11-13:Comment/357999242015-01-16T15:42:09Z2015-01-16T15:42:09ZCannot read last commit information from GitHub repository NikolayIT/OpenJudgeSystem: Unauthorized<div><p>Re-authorize GitHub.</p>
<p>-Feodor</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/357999242016-01-19T19:34:35Z2016-01-19T19:34:37ZCannot read last commit information from GitHub repository NikolayIT/OpenJudgeSystem: Unauthorized<div><p>Had the same for my Git repo from Kiln; reauthorizing did not
work. Any other suggestions?</p></div>Andrew Fliermantag:help.appveyor.com,2012-11-13:Comment/357999242016-01-19T19:35:22Z2016-01-19T19:35:22ZCannot read last commit information from GitHub repository NikolayIT/OpenJudgeSystem: Unauthorized<div><p>What error do you get?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/357999242016-01-19T19:36:07Z2016-01-19T19:36:09ZCannot read last commit information from GitHub repository NikolayIT/OpenJudgeSystem: Unauthorized<div><p>Cannot read last commit information from Kiln repository "":
String was not recognized as a valid DateTime.</p></div>Andrew Fliermantag:help.appveyor.com,2012-11-13:Comment/357999242016-01-19T19:37:35Z2016-01-19T19:37:35ZCannot read last commit information from GitHub repository NikolayIT/OpenJudgeSystem: Unauthorized<div><p>Interesting, will take a look. Maybe something changed on Kiln
side.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/357999242016-01-19T19:39:32Z2016-01-19T19:39:32ZCannot read last commit information from GitHub repository NikolayIT/OpenJudgeSystem: Unauthorized<div><p>Ok tnx, it is a private repo by the way.</p></div>Andrew Fliermantag:help.appveyor.com,2012-11-13:Comment/357999242016-01-19T19:44:48Z2016-01-19T19:44:48ZCannot read last commit information from GitHub repository NikolayIT/OpenJudgeSystem: Unauthorized<div><p>Is it a new AppVeyor project or existing? Was it working
before?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/357999242016-01-19T19:46:15Z2016-01-19T19:46:15ZCannot read last commit information from GitHub repository NikolayIT/OpenJudgeSystem: Unauthorized<div><p>When you click "New build" AppVeyor is trying to fetch the
information about last commit from <strong>"Default
branch"</strong> specified on General tab of project settings. Does
that branch exist?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/357999242016-01-19T19:47:34Z2016-01-19T19:47:34ZCannot read last commit information from GitHub repository NikolayIT/OpenJudgeSystem: Unauthorized<div><p>Very new project , and yes the branch (master) exists</p></div>Andrew Fliermantag:help.appveyor.com,2012-11-13:Comment/357999242016-01-19T20:03:18Z2016-01-19T20:03:18ZCannot read last commit information from GitHub repository NikolayIT/OpenJudgeSystem: Unauthorized<div><p>OK, can you please run (from Poster or Fiddler or curl) the
following query against Kiln API and send me response to "team AT
appveyor.com" (and we'll continue from there):</p>
<pre>
<code>GET https://{your-kiln-site}.kilnhg.com/Api/1.0/Repo/{kiln-repo-from-general-settings}/History/master?token={access-token}</code>
</pre>
<p>Set <code>Accept: application/json</code> header to get response
in JSON.</p></div>Feodor Fitsner