Pull request create failed: GraphQL: Resource not accessible by integration (createPullRequest)

Hey, this is a known issue. The installation token the agent gets in the sandbox doesn’t include write access for pull requests, even if the GitHub app permissions are set correctly. We’ve seen the same Resource not accessible by integration (createPullRequest) error for several users.

Related reports:

The team is aware and tracking it. We don’t have an ETA yet, but your report helps us prioritize this, especially since it’s consistent and reproducible.

Workaround for now: after the agent finishes, it should share a link so you can create the PR manually. The branch and commits will be there, you just need to open the PR yourself. I know it’s not ideal since you lose the full PR text and any artifacts the agent prepared.