Title: Better error message for expired/invalid PAT · Issue #17 · github/gh-codeql · GitHub
Open Graph Title: Better error message for expired/invalid PAT · Issue #17 · github/gh-codeql
X Title: Better error message for expired/invalid PAT · Issue #17 · github/gh-codeql
Description: $ gh codeql list-versions expected an object but got: string ("https://docs.github.com/rest") I haven't investigated, but perhaps this is making an invalid API request. EDIT: The reason for the error was an expired PAT. Leaving this issu...
Open Graph Description: $ gh codeql list-versions expected an object but got: string ("https://docs.github.com/rest") I haven't investigated, but perhaps this is making an invalid API request. EDIT: The reason for the err...
X Description: $ gh codeql list-versions expected an object but got: string ("https://docs.github.com/rest") I haven't investigated, but perhaps this is making an invalid API request. EDIT: The reas...
Opengraph URL: https://github.com/github/gh-codeql/issues/17
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Better error message for expired/invalid PAT","articleBody":"```\r\n$ gh codeql list-versions\r\nexpected an object but got: string (\"https://docs.github.com/rest\")\r\n```\r\n\r\nI haven't investigated, but perhaps this is making an invalid API request.\r\n\r\n---\r\n\r\nEDIT: The reason for the error was an expired PAT. Leaving this issue open so we can provide a better error message in this case.","author":{"url":"https://github.com/aeisenberg","@type":"Person","name":"aeisenberg"},"datePublished":"2022-01-25T18:19:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/17/gh-codeql/issues/17"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:255096e0-47b3-8ad2-3eb2-4d773a3cf860 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A1A0:153FD3:585D40:75851F:6A52FAC5 |
| html-safe-nonce | 00f830bc306de9338e1d81855297669cf79b510b2776858c79abc3a2c08e7fd2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMUEwOjE1M0ZEMzo1ODVENDA6NzU4NTFGOjZBNTJGQUM1IiwidmlzaXRvcl9pZCI6IjQwOTIyOTc5NTI5NzgyMDUzODEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 202c200412766a6d3aac64154ada7a45388ffdf068889edf1fff26185f97c44e |
| hovercard-subject-tag | issue:1114219336 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/gh-codeql/17/issue_layout |
| twitter:image | https://opengraph.githubassets.com/30999e2ea5aa76651be90394e989dbbe6a7afc90d9a30adfa69f4d19b0e48aee/github/gh-codeql/issues/17 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/30999e2ea5aa76651be90394e989dbbe6a7afc90d9a30adfa69f4d19b0e48aee/github/gh-codeql/issues/17 |
| og:image:alt | $ gh codeql list-versions expected an object but got: string ("https://docs.github.com/rest") I haven't investigated, but perhaps this is making an invalid API request. EDIT: The reason for the err... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | aeisenberg |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/github/gh-codeql git https://github.com/github/gh-codeql.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 407100753 |
| octolytics-dimension-repository_nwo | github/gh-codeql |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 407100753 |
| octolytics-dimension-repository_network_root_nwo | github/gh-codeql |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width