Creating codeWiki Caused by ResponseError('too many 500
還沒有人認領這個 Issue。
評估
研究方向
從 issue 片段中的 wiki_client.create_wiki 呼叫和後續的 create_or_update_page 呼叫開始,然後使用所示的 project 和 wiki 值,針對 Azure DevOps wiki API 重現該請求。完成的標準是 wiki 建立不再傳回所回報的 500-response retry error,且後續頁面操作可以繼續進行。
由索引模型根據 Issue 內容生成。
描述
Im getting this error
raise RetryError(e, request=request)
msrest.exceptions.ClientRequestError: Error occurred in request., RetryError: HTTPSConnectionPool(host='test-web.visualstudio.com', port=443): Max retries exceeded with url: /Sample2.0/_apis/wiki/wikis (Caused by ResponseError('too many 500 error responses'))
Its able to pull the Project ids but when creating a wiki and wiki pages as codeWiki I get that error above. My PAT is in full access. here is the last part of the code
for item in wikis:
print(item.id)
wiki_client.create_wiki({"name": WIKI_NAME, "ProjectId": PROJECT_ID}, project=PROJECT_NAME)
#wiki_client.create_or_update_page(parameters={"content": "TEST_PY_PY", "id": 1}, project=PROJECT_ID, wiki_identifier=WIKI_NAME, path="/PageTest", version=None)
obj = wiki_client.create_or_update_page(parameters={"content": "TEST_PY_PY", "id": 1}, project=PROJECT_ID, wiki_identifier=WIKI_NAME, path="/PageTest", version=None)
print(obj.text)
- 主要語言
- Python
- 星號
- 684
- 分支
- 218
- 平均合併
- 8 天 10 小時
- 30 天內合併 PR
- 1
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
microsoft/azure-devops-python-api 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 55/100
-
難度 5/5 一週以上 新手友好度 25/100
-
難度 1/5 1 小時以內 新手友好度 55/100
-
難度 4/5 3-5 天 新手友好度 35/100
-
難度 3/5 1-2 天 新手友好度 45/100
查看 microsoft/azure-devops-python-api 的全部 Issue
相似的 Issue
-
link-check link-check:sphinx-theme
難度 2/5 1-3 小時 新手友好度 72/100
-
難度 2/5 1-3 小時 新手友好度 65/100
qgis/QGIS-Documentation#11275 ·
-
bug priority:normal ready-for-dev
難度 2/5 1-3 小時 新手友好度 88/100
OpenHands/extensions#626 · 1 則留言 ·
-
難度 1/5 1 小時以內 新手友好度 90/100
CSCfi/sd-search-api#39 ·
-
難度 1/5 1 小時以內 新手友好度 90/100