I installed Github CLI on Linux and signed up for a personal access token.
After I authenticated and I cloned a repository, I was able to access all the repository data, milestones, issues etc.
However, when I tried to access project card info etc linked to the repo I received the following response. I used the recommended Accept value and by using “gh auth status” I could see that I was still authenticated
sudo curl -H “Accept: application/vnd.github.inertia-preview+json” https://api.github.com/projects/2
{
“message”: “Requires authentication”,
“documentation_url”: “https://docs.github.com/rest/reference/projects#get-a-project”
}
Any help would be much welcomed. This is new territory for me.