Commit or Snapshot with Bitbucket fails with error Push wasn't done due to an error.When working with a Bitbucket repository you might receive the error below when committing or doing a Full Snapshot.
"Unexpected Error while taking a Snapshot. Id: XXXXXXXXXXXXXXX. Message: Push wasn't done due to an error. Tip: check git permissions and authentication key access"
This error is returned when the Git Repository record in Copado has been created with Authentication Type SSH and the SSH key in Bitbucket has been created with Read Only access to the repository. This will allow the validation of the Git Repository record but will not allow you to make changes in the repository.
If the SSH key has been added to the repository settings, that means that you have read only access.
In order to get read/write access you need to add the SSH to your user.