You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i'm trying to get all projects on our organisation or a repo but no matter which i tries out it just returns a empty array.
The repo is a private one, but have both made a classic token and a fined grained one. the closes i have come is getting a "Resource not accessible by personal access token" error.
The $repositories command does fetch the private repos, so i belive the token does have access to the private repos.
but $projects = $client->api('org_projects')->all('NOVA-Intergalactic'); Just returns a blank array
I have also tried out $projects = $client->api('repo')->projects()->all('NOVA-Intergalactic', 'NovaAi');But that throws the error "Resource not accessible by personal access token"
So i'm a little unsure on where to proceed.
The text was updated successfully, but these errors were encountered:
Hi
i'm trying to get all projects on our organisation or a repo but no matter which i tries out it just returns a empty array.
The repo is a private one, but have both made a classic token and a fined grained one. the closes i have come is getting a "Resource not accessible by personal access token" error.
So my code looks like this
The
$repositories
command does fetch the private repos, so i belive the token does have access to the private repos.but
$projects = $client->api('org_projects')->all('NOVA-Intergalactic');
Just returns a blank arrayI have also tried out
$projects = $client->api('repo')->projects()->all('NOVA-Intergalactic', 'NovaAi');
But that throws the error "Resource not accessible by personal access token"So i'm a little unsure on where to proceed.
The text was updated successfully, but these errors were encountered: