无法删除 API testapi。有可能已被删除,请尝试刷新。

huangapple go评论93阅读模式
英文:

Unable to delete API testapi. There is a chance it was deleted, please try to refresh

问题

我是Azure新手,之前使用过GCP,它提供了非常清晰的错误信息,但在Azure Cloud中,它只显示了一条消息,表示出现了问题,但没有提供清晰的信息。

我在“API管理”上创建了一个API,尝试删除该API。每当我尝试删除时,它只显示“无法删除API testapi。有可能已经被删除,请尝试刷新”。

但API从未被删除。我具有此资源的所有必要权限,事实上,我是该资源的所有者。因此,权限显然不是问题。

此外,我无法使用OpenAPI规范创建API。我创建的API是空的。当我使用OpenAPI时,它会显示“无法创建API。请稍后再试”。

是否有人可以建议我是否做错了什么,或者是否需要访问更多的Azure资源来执行此操作?

英文:

I'm new to azure and previously I have used GCP and it give very clear errors info but with Azure Cloud it just shows a message that something went wrong and no clear info.

I have created an API on API Management and trying to delete that API. and whenever I delete, It just shows me Unable to delete API testapi. There is a chance it was deleted, please try to refresh.

And API never gets deleted. I have all required permission for this resource, in fact I'm owner of the resource. So clearly, there is no problem with permission.

Also I'm unable to create an API using OpenAPI specification. The API that I have created was blank API. When I use OpenAPI it says Could not create an API. Please try again later.

Can anyone advise if I'm doing anything wrong or it requires access to more Azure resource to perform this action?

答案1

得分: 0

Hasher的解决方案有效。我删除了并重新创建了APIM服务,这对我有效。

英文:

Well, after trying all methods, I have an answer. Hasher's solution worked.

I Deleted and created again APIM service and it worked for me.

huangapple
  • 本文由 发表于 2023年5月29日 16:08:19
  • 转载请务必保留本文链接:https://go.coder-hub.com/76355650.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定