Skip to content

Resource not accessible by personal access token for dispatch of workflow in project repository #58868

Discussion options

You must be logged in to vote

I tried re-generating with no luck. I was trying to make a PUT request to create a new environment (the fine-grained token had read+write access to the Environments scope which is described as Manage repository environments) and kept getting a 403. I eventually had to give the fine-grained token read+write to Administration which is described as Repository creation, deletion, settings, teams, and collaborators. and the request successfully goes through after that modification only 🤷🏽

Replies: 6 comments 7 replies

Comment options

You must be logged in to vote
4 replies
@zoul
Comment options

@kevholmes
Comment options

Answer selected by 3ng7n33r
@gberenice
Comment options

@Qix-
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@apoorv-deriv
Comment options

@hoa-pham82
Comment options

@PaiJi
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API and Webhooks Discussions and conversations related to APIs or Webhooks Question