'Resource not accessible by integration' when GitHub App merge a pull request

when my GitHub App merge a pull request throuth api, i got the message ‘Resource not accessible by integration’.

PUT https://api.github.com/repos/harris2012/codegen-java-ut/pulls/1/merge
-H Content-Type application/json
-H Accept application/vnd.github.v3+json
-H Authorization token ${AccessToken from installation}
{
“commit_title”:“the_commit_title”,
“commit_message”:“the_commit_message”,
“merge_method”:“rebase”
}