Hi,
my CI/CD pypeline is configured with the following:
- PR creation
- run tests
- PR merge in "main" branch
- run tests
- deploy in dev
- manual trigger deploy in staging if desired
- TAG creation
- manual trigger deploy in staging
- manual trigger deploy in pre-prod and then prod environment
I set up each environment in the deployment section.
I restricted "main" branch write access to admins only
I restricted the pre-prod and prod environment to run only from "main" and if triggered by Admins

The problem:
Tagging causes the deployment on pre-prod and prod to fail (see image below)
Tags are on commits and I made sure to tag a commit in the "main" branch:

Why does Bitbucket throw this error?