Resource not accessible by personal access token #164432
Replies: 3 comments 2 replies
|
Hello @miteigidesu , Is the Personal Access token that you created from the type Fine-Grained? Did you select Contents permission and give it read + write? |
|
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |



Uh oh!
There was an error while loading. Please reload this page.
Select Topic Area
Question
Body
I'm trying to use this API endpoint:
/repos/{owner}/{repo}/merge-upstreamIt needs the supplied PAT to have "Content" repository permission, as you can see from the documentary itself
My PAT has the correct permission it needed, as you can see:

But I got "Resource not accessible by personal access token" when trying to use the endpoint

Did I do something wrong? Or is this GitHub's bug?
Thanks in advanced :D
All reactions