gpt4 book ai didi

azure-devops - 使用 vsts rest api 时出现 203 错误

转载 作者:行者123 更新时间:2023-12-03 18:41:39 26 4
gpt4 key购买 nike

当我尝试使用 POST 在 VSTS 中创建新工作项时要求:

https://galilinetsky.visualstudio.com/Automatiom/_apis/wit/workitems/$Test%20Case?api-version=5.0-preview.2

我得到下一个回应:

Microsoft Internet Explorer's Enhanced Security Configuration is currently enabled on your environment. This enhanced level of security prevents our web integration experiences from displaying or performing correctly. To continue with your operation please disable this configuration or contact your administrator.



我究竟做错了什么?

最佳答案

解决方案可以在类似的问题中找到:Why I get Internet Explorer enhanced security error message in Chrome if I call VSO API from Angularjs SPA?

Andy

the PAT has to be prefix[ed] by ":" before you base 64 encode it"



所以解决办法是:
  • 创建个人访问 token
  • 在它之前添加一个冒号 (':')
  • 使用 Base 64
  • 对新 PAT(带有前面的冒号)进行编码

    等等!该 PAT 将不再给您 203 错误。

    关于azure-devops - 使用 vsts rest api 时出现 203 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51913656/

    26 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com