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 recently ran in to this issue while attempting to manage pull request attachments. It could be a bug with the AZDO API, but I'm specifically using azure-devops-python-api.
Steps to Reproduce
Create multiple pull request attachments via GitClient, and delete at least one. The specific order doesn't matter; you can create two attachments then delete one of them, or create a single attachment, delete it, and create a second attachment.
Attempting to access any non-deleted attachment (via the attachment URL) results in the following error:
Hello,
I recently ran in to this issue while attempting to manage pull request attachments. It could be a bug with the AZDO API, but I'm specifically using
azure-devops-python-api
.Steps to Reproduce
GitClient
, and delete at least one. The specific order doesn't matter; you can create two attachments then delete one of them, or create a single attachment, delete it, and create a second attachment.Example Code
delete_attachment_bug.py
This code can be used along with the Python shell to reproduce the issue:
Trying to access the most recently created attachment (via the attachment URL) results in the above error.
I'm using Python 3.7.4 and
azure-devops==7.1.0b4
.I haven't been able to find a workaround yet. Note the example code includes a workaround for #322.
The text was updated successfully, but these errors were encountered: