Publishing and Deleting artifactory from Package Registry


I have some problem with publishing artifact.

I deleted it from package repository I want to publish it and I have got error:
Execution failed for task ‘:publishMavenJavaPublicationToGitLabRepository’.

Failed to publish publication ‘mavenJava’ to repository ‘GitLab’
Could not PUT ‘Gitlab Website’. Received status code 400 from server: Bad Request

If I upgrade version or change name of repository then everything work and I can publish

Do you know why it happen I didn’t see some specific rules in documencation.
Should I report it as bug ?