Build fails: Unable to mangageHeroku config vars

When building a project created by a person that is no longer in the github/heroku team I get this error:
Setting BUILD_NUMBER, BRANCH, ENV and restarting ⬢ booking-bluelagoon-dev… !
▸ You do not have permission to manage config vars on
▸ booking-bluelagoon-dev. You need to have the deploy or operate permission
▸ on this app.

Do I need new CircleCI deploy key maybe?
Or is this something else?

Its solved.

I needed to create a new Heroku API Key because the user that created it is no longer in the team and does not have permission.

So problem solved.