“error”:{" code":" BadRequest"," message":""} - 这意味着什么? [英] "error": {"code": "BadRequest", "message": ""} - What does it means?

查看:520
本文介绍了“error”:{" code":" BadRequest"," message":""} - 这意味着什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好。


在使用ARM模板部署资源组的过程中,可能意味着如此精彩的错误消息"



    {body:'{" status":" Failed"," error":{" code":" DeploymentFailed"," message":""至少一个资源部署操作失败。请列出部署操作以获取详细信息请使用
查看https://aka.ms/arm-debug了解使用详情。"," details":[{" code":" NotFound"," message":" {\\ \\\\\ n  \\" error \\":{\\\\\\ n    \\" code \\":\\"BadRequest \\",\\\\\\ n 
  \\" message \\":\\" \\" \\\\\\ n } \\\ \ \\ nn}"},{" code":" NotFound"," message":" {\\\\\\ n  \\" error \ \":{\\\\\\ n    \\" code \\":\\"BadRequest \\",\\\\\\ n 
  \\" message \\":\\" \\" \\\\\\ n } \\\ \ \\ nn}"}]}}',


真的吗?我看到"NotFound","BadRequest"和"NotReound"。和"message:""""这里。给我的信息太多了。


我怎么能猜出错误在哪里?


添加 后出现

 " resources"   [
{
" apiVersion" < span style ="color:#cc7832">: " 2015-08-01"
" type" " slotconfignames"

到 模板。


任何人都可以提示 - 什么是"未找到"在这里? 

解决方案



<感谢您在此处发帖。


这是一个链接,它提供了有关如何解决在将资源部署到Azure时收到的错误的信息,您可能需要查看有关的详细信息已执行的部署操作。 REST API提供操作
,使您能够找到错误并确定可能的修复。


参考:
https://github.com/Azure/azure-content/blob/master/articles/resource-manager- troubleshoot-deployments-rest.md


希望这会有所帮助!


问候,


_________________________________________________________________________________________________________


如果帖子回答了您的问题,请点击标记为该帖子上的答案,然后投票赞成。



Hello.

What could mean such a wonderful error "message"?

During Resource Group deployment with ARM template:

   { body: '{"status":"Failed","error":{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.","details":[{"code":"NotFound","message":"{\\r\\n  \\"error\\": {\\r\\n    \\"code\\": \\"BadRequest\\",\\r\\n    \\"message\\": \\"\\"\\r\\n  }\\r\\n}"},{"code":"NotFound","message":"{\\r\\n  \\"error\\": {\\r\\n    \\"code\\": \\"BadRequest\\",\\r\\n    \\"message\\": \\"\\"\\r\\n  }\\r\\n}"}]}}',

Really? I see "NotFound", "BadRequest" and "message:""" here. Too much information for me.

How can I guess where an error is?

Appear after added 

"resources": [
{
"apiVersion": "2015-08-01",
"type": "slotconfignames",

to the template.

Could anybody please give a hint - What is "not found" here? 

解决方案

Hi,

Thanks for posting here.

Here is the link which gives you the information regarding how to resolve the error received while deploying the resources to the Azure where you may need to check the details about the deployment operations that were executed. The REST API provides operations that enable you to find the errors and determine potential fixes.

Reference: https://github.com/Azure/azure-content/blob/master/articles/resource-manager-troubleshoot-deployments-rest.md

Hope this helps!

Regards,

_________________________________________________________________________________________________________

If a post answers your question, please click Mark as Answer on that post and Vote as Helpful.


这篇关于“error”:{&quot; code&quot;:&quot; BadRequest&quot;,&quot; message&quot;:&quot;&quot;} - 这意味着什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆