Exactly the same problem here unfortunately. - Not sure I can figure it out myself.
I'm going for the manual git pull too at the moment :(
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
The site was properly deployed.
We checked by ssh-ing into the server. The repo was cloned, composer was installed migrations run. Perfect!
Pushed some new code into the master branch.
Clicked on deploy. Showing this error:
Whoops! There were some problems with your input.
We were unable to deploy your site because your Bitbucket token is invalid for this repository or has expired. Please refresh the token in your Forge account profile's "Authentication" tab.`
Went to My Account > Source control. Refresh token.
No dice.
Unlinked Bitbucket and linked it again. No dice.
Uninstalled repository (including rollback migrations) and re-installed (after refreshing the token again). NO DICE!
Deleted the server. Unlinked Bitbucket.
Created new server. Linked Bitbucket again. Added the new server's publickey to the repo settings. Click DEPLOY and IT'S DEPLOYED! Perfect.
The next time we push new code to Bitbucket, Clicked on "Deploy Now". SHOWING THE SAME ERROR.
ssh into the DigitalOcean server and 'git pull' - works seamlessly.
I have wasted 12 hours on this issue. Tried every possible way.
Experts, please advice.
Please or to participate in this conversation.