My first suggestion would be to unlink and relink your repo. I got that suggestion from this part of our documentation. Take a quick read of that doc for the details, do the deed and let us know how it goes!
Thanks for the answer, however I’ve posted it since I have tried all the recommended approaches but could not resolve it with any guidance from the docs.
Also note that I have admin permissions on that bitbucket account. I was even hoping to find a bitbucket plugin for netlify, but I’ve found none.
Here are the steps that I remember I took:
I’ve revoked the netlify’s access to bitbucket and reconnected
I’ve deleted the netlify account and created a new one
I have connected using the cli and started implementing my own script to deploy which brought me to open another issue with netlify.
And frankly I’m surprised because as a solo developer working on small side project I use netlify all the time and it works great. But when using for a legitimate client that can put money on the table (if only it works), I have so many issues. Maybe you’re not as well integrated with bitbucket or have other internal reasons, it’s reasonable and I can understand all of that. I’d just expect you to state what your limitations are on your public docs instead of giving me a bookmark copy pasted answer.
We checked this, and it appears, we’re having some troubles cloning your repo:
Failed to check if ref refs/heads/master exists
In the past, for various customers, this has meant that, they had their repo configured in a way that Netlify could not access. It could be network firewalls, or some access controls setup, or even a pre-commit hook of some kind. Could you confirm if it’s nothing of that sort for you?