You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to upload via the deploy_file method, and i had issue uploading through a virtual repository with error "404, Not found", what does not make sense because i am trying to upload a new file that he shouldn't be exists any way.
So after debugging the error trace back i found that in the API when i try to reach a file is not exists, i had different behavior if it is virtual repo or not;
in regular repository i get this: { "errors" : [ { "status" : 404, "message" : "Unable to find item" } ] }
however in the virtual repository i get a different error message: { "errors" : [ { "status" : 404, "message" : "Not Found" } ] }
And the library method artifactory.py in get_stat_json (Line 457), if code == 404 and "Unable to find item" in text:
Which make this condition not working in virtual repository.
Thank you very much.
The text was updated successfully, but these errors were encountered:
Hi,
I am trying to upload via the deploy_file method, and i had issue uploading through a virtual repository with error "404, Not found", what does not make sense because i am trying to upload a new file that he shouldn't be exists any way.
So after debugging the error trace back i found that in the API when i try to reach a file is not exists, i had different behavior if it is virtual repo or not;
in regular repository i get this:
{ "errors" : [ { "status" : 404, "message" : "Unable to find item" } ] }
however in the virtual repository i get a different error message:
{ "errors" : [ { "status" : 404, "message" : "Not Found" } ] }
And the library method artifactory.py in get_stat_json (Line 457),
if code == 404 and "Unable to find item" in text:
Which make this condition not working in virtual repository.
Thank you very much.
The text was updated successfully, but these errors were encountered: