{"action":"created","issue":{"url":"https://api.github.com/repos/appveyor/ci/issues/2748","repository_url":"https://api.github.com/repos/appveyor/ci","labels_url":"https://api.github.com/repos/appveyor/ci/issues/2748/labels{/name}","comments_url":"https://api.github.com/repos/appveyor/ci/issues/2748/comments","events_url":"https://api.github.com/repos/appveyor/ci/issues/2748/events","html_url":"https://github.com/appveyor/ci/issues/2748","id":381577026,"node_id":"MDU6SXNzdWUzODE1NzcwMjY=","number":2748,"title":"Client Error: Bad Request for url: https://ci.appveyor.com/api/projects","user":{"login":"mjscosta","id":10870489,"node_id":"MDQ6VXNlcjEwODcwNDg5","avatar_url":"https://avatars1.githubusercontent.com/u/10870489?v=4","gravatar_id":"","url":"https://api.github.com/users/mjscosta","html_url":"https://github.com/mjscosta","followers_url":"https://api.github.com/users/mjscosta/followers","following_url":"https://api.github.com/users/mjscosta/following{/other_user}","gists_url":"https://api.github.com/users/mjscosta/gists{/gist_id}","starred_url":"https://api.github.com/users/mjscosta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjscosta/subscriptions","organizations_url":"https://api.github.com/users/mjscosta/orgs","repos_url":"https://api.github.com/users/mjscosta/repos","events_url":"https://api.github.com/users/mjscosta/events{/privacy}","received_events_url":"https://api.github.com/users/mjscosta/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-16T12:19:48Z","updated_at":"2018-11-16T23:30:21Z","closed_at":"2018-11-16T23:30:21Z","author_association":"NONE","body":"\r\nWhen accessing https://ci.appveyor.com/api/projects, for some reason the API is expecting an account parameter.\r\n\r\nhttps://www.appveyor.com/docs/api/\r\nhttps://www.appveyor.com/docs/api/projects-builds/#get-projects\r\n\r\n```\r\ncurl -i -v  https://ci.appveyor.com/api/projects  -H \"Authorization: Bearer ***************************\"\r\n*   Trying 138.91.141.243...\r\n* Connected to ci.appveyor.com (138.91.141.243) port 443 (#0)\r\n* found 148 certificates in /etc/ssl/certs/ca-certificates.crt\r\n* found 592 certificates in /etc/ssl/certs\r\n* ALPN, offering http/1.1\r\n* SSL connection using TLS1.2 / ECDHE_RSA_AES_256_GCM_SHA384\r\n* \t server certificate verification OK\r\n* \t server certificate status verification SKIPPED\r\n* error fetching CN from cert:The requested data were not available.\r\n* \t common name:  (matched)\r\n* \t server certificate expiration date OK\r\n* \t server certificate activation date OK\r\n* \t certificate public key: RSA\r\n* \t certificate version: #3\r\n* \t subject: \r\n* \t start date: Wed, 13 Dec 2017 00:00:00 GMT\r\n* \t expire date: Sat, 08 Dec 2018 23:59:59 GMT\r\n* \t issuer: C=GB,ST=Greater Manchester,L=Salford,O=COMODO CA Limited,CN=COMODO RSA Extended Validation Secure Server CA\r\n* \t compression: NULL\r\n* ALPN, server accepted to use http/1.1\r\n> GET /api/projects HTTP/1.1\r\n> Host: ci.appveyor.com\r\n> User-Agent: curl/7.47.0\r\n> Accept: */*\r\n> Authorization: Bearer ***************************\r\n> \r\n< HTTP/1.1 400 Bad Request\r\nHTTP/1.1 400 Bad Request\r\n< Cache-Control: no-cache\r\nCache-Control: no-cache\r\n< Pragma: no-cache\r\nPragma: no-cache\r\n< Content-Type: application/json; charset=utf-8\r\nContent-Type: application/json; charset=utf-8\r\n< Expires: -1\r\nExpires: -1\r\n< X-XSS-Protection: 1; mode=block\r\nX-XSS-Protection: 1; mode=block\r\n< X-Frame-Options: SAMEORIGIN\r\nX-Frame-Options: SAMEORIGIN\r\n< Strict-Transport-Security: max-age=31536000\r\nStrict-Transport-Security: max-age=31536000\r\n< X-Content-Type-Options: nosniff\r\nX-Content-Type-Options: nosniff\r\n< Date: Fri, 16 Nov 2018 11:53:28 GMT\r\nDate: Fri, 16 Nov 2018 11:53:28 GMT\r\n< Content-Length: 62\r\nContent-Length: 62\r\n\r\n< \r\n* Connection #0 to host ci.appveyor.com left intact\r\n{\"message\":\"Value cannot be null.\\r\\nParameter name: account\"}\r\n\r\n```\r\n\r\ntrying to build public repo: https://github.com/eyeware/lcov-feedstock, please see related issue:\r\nhttps://github.com/conda-forge/conda-smithy/issues/938\r\n"},"comment":{"url":"https://api.github.com/repos/appveyor/ci/issues/comments/439560117","html_url":"https://github.com/appveyor/ci/issues/2748#issuecomment-439560117","issue_url":"https://api.github.com/repos/appveyor/ci/issues/2748","id":439560117,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTU2MDExNw==","user":{"login":"IlyaFinkelshteyn","id":3248386,"node_id":"MDQ6VXNlcjMyNDgzODY=","avatar_url":"https://avatars2.githubusercontent.com/u/3248386?v=4","gravatar_id":"","url":"https://api.github.com/users/IlyaFinkelshteyn","html_url":"https://github.com/IlyaFinkelshteyn","followers_url":"https://api.github.com/users/IlyaFinkelshteyn/followers","following_url":"https://api.github.com/users/IlyaFinkelshteyn/following{/other_user}","gists_url":"https://api.github.com/users/IlyaFinkelshteyn/gists{/gist_id}","starred_url":"https://api.github.com/users/IlyaFinkelshteyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IlyaFinkelshteyn/subscriptions","organizations_url":"https://api.github.com/users/IlyaFinkelshteyn/orgs","repos_url":"https://api.github.com/users/IlyaFinkelshteyn/repos","events_url":"https://api.github.com/users/IlyaFinkelshteyn/events{/privacy}","received_events_url":"https://api.github.com/users/IlyaFinkelshteyn/received_events","type":"User","site_admin":false},"created_at":"2018-11-16T23:30:21Z","updated_at":"2018-11-16T23:30:21Z","author_association":"MEMBER","body":"@mjscosta you are probably using `v2` API key, which is intended to work with all accounts. Just go to https://ci.appveyor.com/api-keys and select API Key to use with the specific account. More info: this kind of API keys and API were introduced as part of https://github.com/appveyor/ci/issues/1313. We are admittedly behind on API documentation..."}}
{"actor":{"display_login":"IlyaFinkelshteyn"}}