Resource Not Accessible by Integration

I am building a GitHub App that updates secrets for a user. I have added the maximum scope when creating my app, yet when I go to call any protected api, I get ‘Resource not accessible by integration’. I am following all the steps listed here, but I must be missing something

Identifying and authorizing users for GitHub Apps - GitHub Docs