Can't list columns through API

Hi, I’m a bit confused by this message. I’m getting “Must have admin rights to Repository”. I am the owner of the repository and project in question, and the token I am using has every checkbox checked (while debugging)

+ github_api
+ curl -H 'Authorization: token xxxx' -H 'Accept: application/vnd.github.inertia-preview+json'
  "message": "Must have admin rights to Repository.",
  "documentation_url": ""

However, I can view the details for a given column with the same token:

+ curl -H 'Authorization: token xxxxx' -H 'Accept: application/vnd.github.inertia-preview+json'
  "url": "",

:wave: @dogboydog: That message indicates that you don’t have admin rights to the project board with that id of value 1002604. As a next step, could you please double check the id of that project board by listing the repository projects? The response is a JSON array where each element represents a project board in the repository. Each element has an id value that you can verify against that id. If they don’t match up, I suggest making a new request with the updated id. Otherwise, I’d be curious to see the response (masking any sensitive or private information) so we can investigate further. :male_detective:

Hey this was totally my fault. I don’t even know where I got the project ID in the OP now. I thought I pasted the API url from the event payload in my workflow, but it doesn’t seem like that’s the case. I double checked the ID and mine is different and I’m able to list it. Long day I guess. Thank you!

1 Like