I had the same issue.
At the same time there was another commit not merged to master and was in gerrit review and rebased in gerrit.
i.e. code pushed for review. rebased in gerrit and review pending to finish.
Once the code was reviewed I was able to push without error.