tag:help.appveyor.com,2012-11-13:/discussions/problems/27457-appveyoryml-suddenly-not-being-read-no-matrix-expansion-msbuild-mode-error-back-despite-build_script-settingAppVeyor: Discussion 2020-08-03T21:03:10Ztag:help.appveyor.com,2012-11-13:Comment/483760552020-06-01T21:45:24Z2020-06-01T21:45:26Zappveyor.yml suddenly not being read; no matrix expansion, "MSBuild" mode error back despite build_script setting<div><p>Hi! I have a somewhat-complex <a href="https://github.com/gevent/gevent/blob/master/appveyor.yml">appveyor.yml</a> for building a Python project.</p>
<p>3 days ago, <a href="https://ci.appveyor.com/project/denik/gevent/builds/33206505">it was working as expected</a>, expanding into a matrix of jobs and running my <code>build_script</code> (and assorted other scripts).</p>
<p>Today, without making any changes to <code>appveyor.yml</code>, I suddenly started getting <a href="https://ci.appveyor.com/project/denik/gevent/builds/33250501">the error message about MSBuild mode without a project file</a>, and there was no matrix expansion.</p>
<p>I've tried various things in the UI (turning "Build: off", fetching a zip archive instead of directly from git and vice versa) and various tweaks to <code>appveyor.yml</code> (<a href="https://github.com/gevent/gevent/commit/1097595f1459a4c4e955f9916e19575ea9221496">commenting out</a> the vestigial <code>build:</code> section) but it seems my appveyor.yml is being completely ignored. Nothing I've been able to do gets the matrix to expand or my scripts to run.</p>
<p>My YAML validates structurally locally and I've checked over the YAML reference and don't see anything I've done wrong schema-wise. I haven't been able to find any information about changes that might have caused this either.</p>
<p>Does anyone have any ideas about what might be happening? Thank you for any help.</p></div>Jason Maddentag:help.appveyor.com,2012-11-13:Comment/483760552020-06-03T10:29:18Z2020-06-03T10:29:20Zappveyor.yml suddenly not being read; no matrix expansion, "MSBuild" mode error back despite build_script setting<div><p>Poking around the UI, I found some additional things strange. For example, clicking <a href="/"https://developer.github.com/v3/"}"">New build" resulted in an error message about bad github credentials. But restarting older builds did not.</a></p>
<p><a href="/"https://developer.github.com/v3/"}"">Eventually, I deleted the entire project and all its history, then re-created it. This time Appveyor wanted to install an "app" in GitHub, so I let it. It appears things began working after that.</a></p>
<p><a href="/"https://developer.github.com/v3/"}"">Viewing the history of webhook deliveries, a call to the <em>old</em> webhook at 2020-06-01 17:03:32 failed with the error:<br>
```json {D "message": "HTTP GET to https://api.github.com/repos/gevent/gevent/pulls/1635 returned status code 401: Unauthorized\nFull response body:\n{\"message\":\"Bad credentials\",\"documentation_url\</a>; }</p>
<pre>
<code>
The previous call at 2020-06-01 16:18:05 was successful. I have no idea why that error message would have occurred, nor do I know how to fix it other than re-installing and re-authorizing AppVeyor.<br><br>
<br>But the build now seems to be running.</code>
</pre></div>Jason Maddentag:help.appveyor.com,2012-11-13:Comment/483760552020-06-03T17:04:39Z2020-06-03T17:04:39Zappveyor.yml suddenly not being read; no matrix expansion, "MSBuild" mode error back despite build_script setting<div><p>Make sure GitHub is still authorized on "Account -> Authorizations" page.</p></div>Feodor Fitsner