When trying to get item property from a v2 Docker repository we encounter a 401 error while from other repositories we get the properties.
Steps to reproduce:
1. add a property under a file in a docker repository.
2. use the following REST API command - curl -X GET http://ARTIFACTORY_URL:PORT/artifactory/api/storage/DOCKER_REPOSITORY/PATH/TO/FILE?properties
Output from console:
"errors" : [
When trying to get the property from a different repository we get the properties under the file:
curl -X GET ARTIFACTORY_URL:PORT/artifactory/api/storage/REPOSITORY/PATH/TO/FILE?properties
"uri" : "http://ARTIFACTORY_URL:PORT/artifactory/api/storage/REPOSITORY/PATH/TO/FILE"
NOTE - This issue occurs only in Docker V2 repositories.